#ifndef AS3_IMPL // class interfaces
#pragma GCC diagnostic ignored "-Wdiv-by-zero" push
class Object;
class Class;
class Function;
class Namespace;
class Boolean;
class Number;
class _int;
class uint;
class String;
class Array;
namespace __AS3__ {
namespace vec {
class Vector;
} //vec
} //__AS3__
class Math;
class Error;
class DefinitionError;
class EvalError;
class RangeError;
class ReferenceError;
class SecurityError;
class SyntaxError;
class TypeError;
class URIError;
class VerifyError;
class UninitializedError;
class ArgumentError;
namespace flash {
namespace errors {
class IOError;
} //errors
} //flash
namespace flash {
namespace errors {
class MemoryError;
} //errors
} //flash
namespace flash {
namespace errors {
class IllegalOperationError;
} //errors
} //flash
namespace flash {
namespace errors {
class EOFError;
} //errors
} //flash
class Date;
class RegExp;
class JSON;
class XML;
class XMLList;
class QName;
namespace flash {
namespace utils {
class IDataInput;
} //utils
} //flash
namespace flash {
namespace utils {
class IDataOutput;
} //utils
} //flash
namespace flash {
namespace utils {
class Proxy;
} //utils
} //flash
namespace flash {
namespace utils {
class Dictionary;
} //utils
} //flash
namespace flash {
namespace net {
class IDynamicPropertyOutput;
} //net
} //flash
namespace flash {
namespace net {
class IDynamicPropertyWriter;
} //net
} //flash
namespace flash {
namespace utils {
class IExternalizable;
} //utils
} //flash
namespace flash {
namespace net {
class ObjectEncoding;
} //net
} //flash
namespace flash {
namespace concurrent {
class Mutex;
} //concurrent
} //flash
namespace flash {
namespace concurrent {
class Condition;
} //concurrent
} //flash
namespace flash {
namespace utils {
class CompressionAlgorithm;
} //utils
} //flash
namespace flash {
namespace utils {
class ByteArray;
} //utils
} //flash
class Object : public AS3_NS::var {
protected:
	explicit Object(unsigned id) : AS3_NS::var(id) {}
public:
	AS3_BASE_DEF(Object, kNull);
	class internal {
	public:
		static Class getClosure();
		AS3_PROP_GET_DEF(int, length);
		class instance : public AS3_NS::var::internal::instance {
		public:
			AS3_METH_DEF(bool, isPrototypeOf, ( AS3_NS::var = AS3_NS::internal::_undefined));
			AS3_METH_DEF(bool, hasOwnProperty, ( AS3_NS::var = AS3_NS::internal::_undefined));
			AS3_METH_DEF(bool, propertyIsEnumerable, ( AS3_NS::var = AS3_NS::internal::_undefined));
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
	static AS3_PROP(length);
	static AS3_METH_DEF(AS3_NS::var, _init, ());
	AS3_CONSTR_DEF(Object, ());
};
class Class : public AS3_NS::Object {
protected:
	explicit Class(unsigned id) : AS3_NS::Object(id) {}
public:
	AS3_BASE_DEF(Class, kNull);
	class internal {
		AS3_IPROP_GET_DEF(AS3_NS::var, prototype);
	public:
		static Class getClosure();
		AS3_PROP_GET_DEF(int, length);
		class instance : public AS3_NS::Object::internal::instance {
		public:
			AS3_IPROP(prototype);
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
	static AS3_PROP(length);
	AS3_CONSTR_DEF(Class, ());
};
class Function : public AS3_NS::Object {
protected:
	explicit Function(unsigned id) : AS3_NS::Object(id) {}
public:
	AS3_BASE_DEF(Function, kNull);
	class internal {
		AS3_IPROP_GET_DEF(int, length);
		AS3_IPROP_SET_GET_DEF(AS3_NS::var, prototype);
	public:
		static Class getClosure();
		AS3_PROP_GET_DEF(int, length);
		class instance : public AS3_NS::Object::internal::instance {
		public:
			AS3_IPROP(length);
			AS3_IPROP(prototype);
			AS3_METH_DEF(AS3_NS::var, call, ( AS3_NS::var = AS3_NS::internal::_undefined, int = 0, var * = NULL));
			AS3_METH_DEF(AS3_NS::var, apply, ( AS3_NS::var = AS3_NS::internal::_undefined, AS3_NS::var = AS3_NS::internal::_undefined));
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
	static AS3_PROP(length);
	static AS3_METH_DEF(AS3_NS::Function, createEmptyFunction, ());
	AS3_CONSTR_DEF(Function, ());
	static Function _new(var (*fun)(void *data, var args), void *data);
};
class Namespace : public AS3_NS::Object {
protected:
	explicit Namespace(unsigned id) : AS3_NS::Object(id) {}
public:
	AS3_BASE_DEF(Namespace, kNull);
	class internal {
		AS3_IPROP_GET_DEF(AS3_NS::var, prefix);
		AS3_IPROP_GET_DEF(AS3_NS::String, uri);
	public:
		static Class getClosure();
		AS3_PROP_GET_DEF(AS3_NS::var, length);
		class instance : public AS3_NS::Object::internal::instance {
		public:
			AS3_IPROP(prefix);
			AS3_IPROP(uri);
			AS3_METH_DEF(AS3_NS::String, valueOf, ());
			AS3_METH_DEF(AS3_NS::String, toString, ());
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
	static AS3_PROP(length);
	AS3_CONSTR_DEF(Namespace, ( AS3_NS::var = AS3_NS::internal::_undefined, AS3_NS::var = AS3_NS::internal::_undefined));
};
class Boolean : public AS3_NS::Object {
protected:
	explicit Boolean(unsigned id) : AS3_NS::Object(id) {}
public:
	AS3_BASE_DEF(Boolean, kFalse);
	class internal {
	public:
		static Class getClosure();
		AS3_PROP_GET_DEF(int, length);
		class instance : public AS3_NS::Object::internal::instance {
		public:
			AS3_METH_DEF(AS3_NS::String, toString, ());
			AS3_METH_DEF(bool, valueOf, ());
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
	static AS3_PROP(length);
	AS3_CONSTR_DEF(Boolean, ( AS3_NS::var = AS3_NS::internal::_undefined));
	static Boolean _new(bool);
};
class Number : public AS3_NS::Object {
protected:
	explicit Number(unsigned id) : AS3_NS::Object(id) {}
public:
	AS3_BASE_DEF(Number, kNaN);
	class internal {
	public:
		static Class getClosure();
		AS3_PROP_GET_DEF(double, E);
		AS3_PROP_GET_DEF(double, LN10);
		AS3_PROP_GET_DEF(double, LN2);
		AS3_PROP_GET_DEF(double, LOG10E);
		AS3_PROP_GET_DEF(double, LOG2E);
		AS3_PROP_GET_DEF(double, MAX_VALUE);
		AS3_PROP_GET_DEF(double, MIN_VALUE);
		AS3_PROP_GET_DEF(double, NEGATIVE_INFINITY);
		AS3_PROP_GET_DEF(double, NaN);
		AS3_PROP_GET_DEF(double, PI);
		AS3_PROP_GET_DEF(double, POSITIVE_INFINITY);
		AS3_PROP_GET_DEF(double, SQRT1_2);
		AS3_PROP_GET_DEF(double, SQRT2);
		AS3_PROP_GET_DEF(int, length);
		class instance : public AS3_NS::Object::internal::instance {
		public:
			AS3_METH_DEF(AS3_NS::String, toString, ( AS3_NS::var = AS3_NS::internal::new_int(10)));
			AS3_METH_DEF(double, valueOf, ());
			AS3_METH_DEF(AS3_NS::String, toExponential, ( AS3_NS::var = AS3_NS::internal::new_int(0)));
			AS3_METH_DEF(AS3_NS::String, toPrecision, ( AS3_NS::var = AS3_NS::internal::new_int(0)));
			AS3_METH_DEF(AS3_NS::String, toFixed, ( AS3_NS::var = AS3_NS::internal::new_int(0)));
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
	static AS3_PROP(E);
	static AS3_PROP(LN10);
	static AS3_PROP(LN2);
	static AS3_PROP(LOG10E);
	static AS3_PROP(LOG2E);
	static AS3_PROP(MAX_VALUE);
	static AS3_PROP(MIN_VALUE);
	static AS3_PROP(NEGATIVE_INFINITY);
	static AS3_PROP(NaN);
	static AS3_PROP(PI);
	static AS3_PROP(POSITIVE_INFINITY);
	static AS3_PROP(SQRT1_2);
	static AS3_PROP(SQRT2);
	static AS3_PROP(length);
	static AS3_METH_DEF(double, abs, ( double));
	static AS3_METH_DEF(double, acos, ( double));
	static AS3_METH_DEF(double, asin, ( double));
	static AS3_METH_DEF(double, atan, ( double));
	static AS3_METH_DEF(double, ceil, ( double));
	static AS3_METH_DEF(double, cos, ( double));
	static AS3_METH_DEF(double, exp, ( double));
	static AS3_METH_DEF(double, floor, ( double));
	static AS3_METH_DEF(double, log, ( double));
	static AS3_METH_DEF(double, round, ( double));
	static AS3_METH_DEF(double, sin, ( double));
	static AS3_METH_DEF(double, sqrt, ( double));
	static AS3_METH_DEF(double, tan, ( double));
	static AS3_METH_DEF(double, atan2, ( double, double));
	static AS3_METH_DEF(double, pow, ( double, double));
	static AS3_METH_DEF(double, max, ( double = (-1./0.), double = (-1./0.), int = 0, var * = NULL));
	static AS3_METH_DEF(double, min, ( double = (1./0.), double = (1./0.), int = 0, var * = NULL));
	static AS3_METH_DEF(double, random, ());
	AS3_CONSTR_DEF(Number, ( AS3_NS::var = AS3_NS::internal::new_int(0)));
	static Number _new(double);
};
class _int : public AS3_NS::Object {
protected:
	explicit _int(unsigned id) : AS3_NS::Object(id) {}
public:
	AS3_BASE_DEF(_int, kZero);
	class internal {
	public:
		static Class getClosure();
		AS3_PROP_GET_DEF(int, MAX_VALUE);
		AS3_PROP_GET_DEF(int, MIN_VALUE);
		AS3_PROP_GET_DEF(int, length);
		class instance : public AS3_NS::Object::internal::instance {
		public:
			AS3_METH_DEF(AS3_NS::String, toString, ( AS3_NS::var = AS3_NS::internal::new_int(10)));
			AS3_METH_DEF(int, valueOf, ());
			AS3_METH_DEF(AS3_NS::String, toExponential, ( AS3_NS::var = AS3_NS::internal::new_int(0)));
			AS3_METH_DEF(AS3_NS::String, toPrecision, ( AS3_NS::var = AS3_NS::internal::new_int(0)));
			AS3_METH_DEF(AS3_NS::String, toFixed, ( AS3_NS::var = AS3_NS::internal::new_int(0)));
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
	static AS3_PROP(MAX_VALUE);
	static AS3_PROP(MIN_VALUE);
	static AS3_PROP(length);
	AS3_CONSTR_DEF(_int, ( AS3_NS::var = AS3_NS::internal::new_int(0)));
	static _int _new(int);
};
class uint : public AS3_NS::Object {
protected:
	explicit uint(unsigned id) : AS3_NS::Object(id) {}
public:
	AS3_BASE_DEF(uint, kZero);
	class internal {
	public:
		static Class getClosure();
		AS3_PROP_GET_DEF(unsigned, MAX_VALUE);
		AS3_PROP_GET_DEF(unsigned, MIN_VALUE);
		AS3_PROP_GET_DEF(int, length);
		class instance : public AS3_NS::Object::internal::instance {
		public:
			AS3_METH_DEF(AS3_NS::String, toString, ( AS3_NS::var = AS3_NS::internal::new_int(10)));
			AS3_METH_DEF(unsigned, valueOf, ());
			AS3_METH_DEF(AS3_NS::String, toExponential, ( AS3_NS::var = AS3_NS::internal::new_int(0)));
			AS3_METH_DEF(AS3_NS::String, toPrecision, ( AS3_NS::var = AS3_NS::internal::new_int(0)));
			AS3_METH_DEF(AS3_NS::String, toFixed, ( AS3_NS::var = AS3_NS::internal::new_int(0)));
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
	static AS3_PROP(MAX_VALUE);
	static AS3_PROP(MIN_VALUE);
	static AS3_PROP(length);
	AS3_CONSTR_DEF(uint, ( AS3_NS::var = AS3_NS::internal::new_int(0)));
	static uint _new(unsigned);
};
class String : public AS3_NS::Object {
protected:
	explicit String(unsigned id) : AS3_NS::Object(id) {}
public:
	AS3_BASE_DEF(String, kNull);
	class internal {
		AS3_IPROP_GET_DEF(int, length);
	public:
		static Class getClosure();
		AS3_PROP_GET_DEF(int, length);
		class instance : public AS3_NS::Object::internal::instance {
		public:
			AS3_IPROP(length);
			AS3_METH_DEF(int, indexOf, ( AS3_NS::String = "undefined", double = 0));
			AS3_METH_DEF(int, lastIndexOf, ( AS3_NS::String = "undefined", double = 2147483647));
			AS3_METH_DEF(AS3_NS::String, charAt, ( double = 0));
			AS3_METH_DEF(double, charCodeAt, ( double = 0));
			AS3_METH_DEF(AS3_NS::String, concat, ( int = 0, var * = NULL));
			AS3_METH_DEF(int, localeCompare, ( AS3_NS::var = AS3_NS::internal::_undefined));
			AS3_METH_DEF(AS3_NS::Array, match, ( AS3_NS::var = AS3_NS::internal::_undefined));
			AS3_METH_DEF(AS3_NS::String, replace, ( AS3_NS::var = AS3_NS::internal::_undefined, AS3_NS::var = AS3_NS::internal::_undefined));
			AS3_METH_DEF(int, search, ( AS3_NS::var = AS3_NS::internal::_undefined));
			AS3_METH_DEF(AS3_NS::String, slice, ( double = 0, double = 2147483647));
			AS3_METH_DEF(AS3_NS::Array, split, ( AS3_NS::var = AS3_NS::internal::_undefined, AS3_NS::var = AS3_NS::internal::new_Number(4.294967295E9)));
			AS3_METH_DEF(AS3_NS::String, substring, ( double = 0, double = 2147483647));
			AS3_METH_DEF(AS3_NS::String, substr, ( double = 0, double = 2147483647));
			AS3_METH_DEF(AS3_NS::String, toLowerCase, ());
			AS3_METH_DEF(AS3_NS::String, toLocaleLowerCase, ());
			AS3_METH_DEF(AS3_NS::String, toUpperCase, ());
			AS3_METH_DEF(AS3_NS::String, toLocaleUpperCase, ());
			AS3_METH_DEF(AS3_NS::String, toString, ());
			AS3_METH_DEF(AS3_NS::String, valueOf, ());
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
	static AS3_PROP(length);
	static AS3_METH_DEF(AS3_NS::String, fromCharCode, ( int = 0, var * = NULL));
	AS3_CONSTR_DEF(String, ( AS3_NS::var = AS3_NS::internal::new_String("")));
	static String _new(const char *, int len = -1);
	String(const char *);
};
class Array : public AS3_NS::Object {
protected:
	explicit Array(unsigned id) : AS3_NS::Object(id) {}
public:
	AS3_BASE_DEF(Array, kNull);
	class internal {
		AS3_IPROP_SET_GET_DEF(unsigned, length);
	public:
		static Class getClosure();
		AS3_PROP_GET_DEF(unsigned, CASEINSENSITIVE);
		AS3_PROP_GET_DEF(unsigned, DESCENDING);
		AS3_PROP_GET_DEF(unsigned, NUMERIC);
		AS3_PROP_GET_DEF(unsigned, RETURNINDEXEDARRAY);
		AS3_PROP_GET_DEF(unsigned, UNIQUESORT);
		AS3_PROP_GET_DEF(int, length);
		class instance : public AS3_NS::Object::internal::instance {
		public:
			AS3_IPROP(length);
			AS3_METH_DEF(AS3_NS::String, join, ( AS3_NS::var = AS3_NS::internal::_undefined));
			AS3_METH_DEF(AS3_NS::var, pop, ());
			AS3_METH_DEF(unsigned, push, ( int = 0, var * = NULL));
			AS3_METH_DEF(AS3_NS::Array, reverse, ());
			AS3_METH_DEF(AS3_NS::Array, concat, ( int = 0, var * = NULL));
			AS3_METH_DEF(AS3_NS::var, shift, ());
			AS3_METH_DEF(AS3_NS::Array, slice, ( AS3_NS::var = AS3_NS::internal::new_int(0), AS3_NS::var = AS3_NS::internal::new_Number(4.294967295E9)));
			AS3_METH_DEF(unsigned, unshift, ( int = 0, var * = NULL));
			AS3_METH_DEF(AS3_NS::var, splice, ( int = 0, var * = NULL));
			AS3_METH_DEF(AS3_NS::var, sort, ( int = 0, var * = NULL));
			AS3_METH_DEF(AS3_NS::var, sortOn, ( AS3_NS::var, AS3_NS::var = AS3_NS::internal::new_int(0), int = 0, var * = NULL));
			AS3_METH_DEF(int, indexOf, ( AS3_NS::var, AS3_NS::var = AS3_NS::internal::new_int(0)));
			AS3_METH_DEF(int, lastIndexOf, ( AS3_NS::var, AS3_NS::var = AS3_NS::internal::new_int(2147483647)));
			AS3_METH_DEF(bool, every, ( AS3_NS::Function, AS3_NS::var = *(AS3_NS::var*)&AS3_NS::internal::_null));
			AS3_METH_DEF(AS3_NS::Array, filter, ( AS3_NS::Function, AS3_NS::var = *(AS3_NS::var*)&AS3_NS::internal::_null));
			AS3_METH_DEF(void, forEach, ( AS3_NS::Function, AS3_NS::var = *(AS3_NS::var*)&AS3_NS::internal::_null));
			AS3_METH_DEF(AS3_NS::Array, map, ( AS3_NS::Function, AS3_NS::var = *(AS3_NS::var*)&AS3_NS::internal::_null));
			AS3_METH_DEF(bool, some, ( AS3_NS::Function, AS3_NS::var = *(AS3_NS::var*)&AS3_NS::internal::_null));
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
	static AS3_PROP(CASEINSENSITIVE);
	static AS3_PROP(DESCENDING);
	static AS3_PROP(NUMERIC);
	static AS3_PROP(RETURNINDEXEDARRAY);
	static AS3_PROP(UNIQUESORT);
	static AS3_PROP(length);
	AS3_CONSTR_DEF(Array, ());
	AS3_CONSTR_DEF(Array, ( var));
	AS3_CONSTR_DEF(Array, ( var, var));
	AS3_CONSTR_DEF(Array, ( var, var, var));
	AS3_CONSTR_DEF(Array, ( var, var, var, var));
	AS3_CONSTR_DEF(Array, ( var, var, var, var, var));
	AS3_CONSTR_DEF(Array, ( var, var, var, var, var, var));
	AS3_CONSTR_DEF(Array, ( var, var, var, var, var, var, var));
	AS3_CONSTR_DEF(Array, ( var, var, var, var, var, var, var, var));
	AS3_CONSTR_DEF(Array, ( var, var, var, var, var, var, var, var, var));
	AS3_CONSTR_DEF(Array, ( var, var, var, var, var, var, var, var, var, var));
	static Array _new(int, var *);
};
namespace __AS3__ {
namespace vec {
class Vector : public AS3_NS::Object {
protected:
	explicit Vector(unsigned id) : AS3_NS::Object(id) {}
public:
	AS3_BASE_DEF(Vector, kNull);
	class internal {
	public:
		static Class getClosure();
		class instance : public AS3_NS::Object::internal::instance {
		public:
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
	AS3_CONSTR_DEF(Vector, ());
};
} //vec
} //__AS3__
class Math : public AS3_NS::Object {
protected:
	explicit Math(unsigned id) : AS3_NS::Object(id) {}
public:
	AS3_BASE_DEF(Math, kNull);
	class internal {
	public:
		static Class getClosure();
		AS3_PROP_GET_DEF(double, E);
		AS3_PROP_GET_DEF(double, LN10);
		AS3_PROP_GET_DEF(double, LN2);
		AS3_PROP_GET_DEF(double, LOG10E);
		AS3_PROP_GET_DEF(double, LOG2E);
		AS3_PROP_GET_DEF(double, PI);
		AS3_PROP_GET_DEF(double, SQRT1_2);
		AS3_PROP_GET_DEF(double, SQRT2);
		class instance : public AS3_NS::Object::internal::instance {
		public:
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
	static AS3_PROP(E);
	static AS3_PROP(LN10);
	static AS3_PROP(LN2);
	static AS3_PROP(LOG10E);
	static AS3_PROP(LOG2E);
	static AS3_PROP(PI);
	static AS3_PROP(SQRT1_2);
	static AS3_PROP(SQRT2);
	static AS3_METH_DEF(double, abs, ( double));
	static AS3_METH_DEF(double, acos, ( double));
	static AS3_METH_DEF(double, asin, ( double));
	static AS3_METH_DEF(double, atan, ( double));
	static AS3_METH_DEF(double, ceil, ( double));
	static AS3_METH_DEF(double, cos, ( double));
	static AS3_METH_DEF(double, exp, ( double));
	static AS3_METH_DEF(double, floor, ( double));
	static AS3_METH_DEF(double, log, ( double));
	static AS3_METH_DEF(double, round, ( double));
	static AS3_METH_DEF(double, sin, ( double));
	static AS3_METH_DEF(double, sqrt, ( double));
	static AS3_METH_DEF(double, tan, ( double));
	static AS3_METH_DEF(double, atan2, ( double, double));
	static AS3_METH_DEF(double, pow, ( double, double));
	static AS3_METH_DEF(double, max, ( double = (-1./0.), double = (-1./0.), int = 0, var * = NULL));
	static AS3_METH_DEF(double, min, ( double = (1./0.), double = (1./0.), int = 0, var * = NULL));
	static AS3_METH_DEF(double, random, ());
	AS3_CONSTR_DEF(Math, ());
};
class Error : public AS3_NS::Object {
protected:
	explicit Error(unsigned id) : AS3_NS::Object(id) {}
public:
	AS3_BASE_DEF(Error, kNull);
	class internal {
		AS3_IPROP_GET_DEF(int, errorID);
		AS3_IPROP_SET_GET_DEF(AS3_NS::var, message);
		AS3_IPROP_SET_GET_DEF(AS3_NS::var, name);
	public:
		static Class getClosure();
		AS3_PROP_GET_DEF(int, length);
		class instance : public AS3_NS::Object::internal::instance {
		public:
			AS3_IPROP(errorID);
			AS3_IPROP(message);
			AS3_IPROP(name);
			AS3_METH_DEF(AS3_NS::String, getStackTrace, ());
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
	static AS3_PROP(length);
	static AS3_METH_DEF(AS3_NS::String, getErrorMessage, ( int));
	static AS3_METH_DEF(AS3_NS::var, throwError, ( AS3_NS::Class, unsigned, int = 0, var * = NULL));
	AS3_CONSTR_DEF(Error, ( AS3_NS::var = AS3_NS::internal::new_String(""), AS3_NS::var = AS3_NS::internal::new_int(0)));
};
class DefinitionError : public AS3_NS::Error {
protected:
	explicit DefinitionError(unsigned id) : AS3_NS::Error(id) {}
public:
	AS3_BASE_DEF(DefinitionError, kNull);
	class internal {
	public:
		static Class getClosure();
		AS3_PROP_GET_DEF(int, length);
		class instance : public AS3_NS::Error::internal::instance {
		public:
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
	static AS3_PROP(length);
	AS3_CONSTR_DEF(DefinitionError, ( AS3_NS::var = AS3_NS::internal::new_String(""), AS3_NS::var = AS3_NS::internal::new_int(0)));
};
class EvalError : public AS3_NS::Error {
protected:
	explicit EvalError(unsigned id) : AS3_NS::Error(id) {}
public:
	AS3_BASE_DEF(EvalError, kNull);
	class internal {
	public:
		static Class getClosure();
		AS3_PROP_GET_DEF(int, length);
		class instance : public AS3_NS::Error::internal::instance {
		public:
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
	static AS3_PROP(length);
	AS3_CONSTR_DEF(EvalError, ( AS3_NS::var = AS3_NS::internal::new_String(""), AS3_NS::var = AS3_NS::internal::new_int(0)));
};
class RangeError : public AS3_NS::Error {
protected:
	explicit RangeError(unsigned id) : AS3_NS::Error(id) {}
public:
	AS3_BASE_DEF(RangeError, kNull);
	class internal {
	public:
		static Class getClosure();
		AS3_PROP_GET_DEF(int, length);
		class instance : public AS3_NS::Error::internal::instance {
		public:
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
	static AS3_PROP(length);
	AS3_CONSTR_DEF(RangeError, ( AS3_NS::var = AS3_NS::internal::new_String(""), AS3_NS::var = AS3_NS::internal::new_int(0)));
};
class ReferenceError : public AS3_NS::Error {
protected:
	explicit ReferenceError(unsigned id) : AS3_NS::Error(id) {}
public:
	AS3_BASE_DEF(ReferenceError, kNull);
	class internal {
	public:
		static Class getClosure();
		AS3_PROP_GET_DEF(int, length);
		class instance : public AS3_NS::Error::internal::instance {
		public:
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
	static AS3_PROP(length);
	AS3_CONSTR_DEF(ReferenceError, ( AS3_NS::var = AS3_NS::internal::new_String(""), AS3_NS::var = AS3_NS::internal::new_int(0)));
};
class SecurityError : public AS3_NS::Error {
protected:
	explicit SecurityError(unsigned id) : AS3_NS::Error(id) {}
public:
	AS3_BASE_DEF(SecurityError, kNull);
	class internal {
	public:
		static Class getClosure();
		AS3_PROP_GET_DEF(int, length);
		class instance : public AS3_NS::Error::internal::instance {
		public:
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
	static AS3_PROP(length);
	AS3_CONSTR_DEF(SecurityError, ( AS3_NS::var = AS3_NS::internal::new_String(""), AS3_NS::var = AS3_NS::internal::new_int(0)));
};
class SyntaxError : public AS3_NS::Error {
protected:
	explicit SyntaxError(unsigned id) : AS3_NS::Error(id) {}
public:
	AS3_BASE_DEF(SyntaxError, kNull);
	class internal {
	public:
		static Class getClosure();
		AS3_PROP_GET_DEF(int, length);
		class instance : public AS3_NS::Error::internal::instance {
		public:
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
	static AS3_PROP(length);
	AS3_CONSTR_DEF(SyntaxError, ( AS3_NS::var = AS3_NS::internal::new_String(""), AS3_NS::var = AS3_NS::internal::new_int(0)));
};
class TypeError : public AS3_NS::Error {
protected:
	explicit TypeError(unsigned id) : AS3_NS::Error(id) {}
public:
	AS3_BASE_DEF(TypeError, kNull);
	class internal {
	public:
		static Class getClosure();
		AS3_PROP_GET_DEF(int, length);
		class instance : public AS3_NS::Error::internal::instance {
		public:
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
	static AS3_PROP(length);
	AS3_CONSTR_DEF(TypeError, ( AS3_NS::var = AS3_NS::internal::new_String(""), AS3_NS::var = AS3_NS::internal::new_int(0)));
};
class URIError : public AS3_NS::Error {
protected:
	explicit URIError(unsigned id) : AS3_NS::Error(id) {}
public:
	AS3_BASE_DEF(URIError, kNull);
	class internal {
	public:
		static Class getClosure();
		AS3_PROP_GET_DEF(int, length);
		class instance : public AS3_NS::Error::internal::instance {
		public:
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
	static AS3_PROP(length);
	AS3_CONSTR_DEF(URIError, ( AS3_NS::var = AS3_NS::internal::new_String(""), AS3_NS::var = AS3_NS::internal::new_int(0)));
};
class VerifyError : public AS3_NS::Error {
protected:
	explicit VerifyError(unsigned id) : AS3_NS::Error(id) {}
public:
	AS3_BASE_DEF(VerifyError, kNull);
	class internal {
	public:
		static Class getClosure();
		AS3_PROP_GET_DEF(int, length);
		class instance : public AS3_NS::Error::internal::instance {
		public:
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
	static AS3_PROP(length);
	AS3_CONSTR_DEF(VerifyError, ( AS3_NS::var = AS3_NS::internal::new_String(""), AS3_NS::var = AS3_NS::internal::new_int(0)));
};
class UninitializedError : public AS3_NS::Error {
protected:
	explicit UninitializedError(unsigned id) : AS3_NS::Error(id) {}
public:
	AS3_BASE_DEF(UninitializedError, kNull);
	class internal {
	public:
		static Class getClosure();
		AS3_PROP_GET_DEF(int, length);
		class instance : public AS3_NS::Error::internal::instance {
		public:
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
	static AS3_PROP(length);
	AS3_CONSTR_DEF(UninitializedError, ( AS3_NS::var = AS3_NS::internal::new_String(""), AS3_NS::var = AS3_NS::internal::new_int(0)));
};
class ArgumentError : public AS3_NS::Error {
protected:
	explicit ArgumentError(unsigned id) : AS3_NS::Error(id) {}
public:
	AS3_BASE_DEF(ArgumentError, kNull);
	class internal {
	public:
		static Class getClosure();
		AS3_PROP_GET_DEF(int, length);
		class instance : public AS3_NS::Error::internal::instance {
		public:
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
	static AS3_PROP(length);
	AS3_CONSTR_DEF(ArgumentError, ( AS3_NS::var = AS3_NS::internal::new_String(""), AS3_NS::var = AS3_NS::internal::new_int(0)));
};
namespace flash {
namespace errors {
class IOError : public AS3_NS::Error {
protected:
	explicit IOError(unsigned id) : AS3_NS::Error(id) {}
public:
	AS3_BASE_DEF(IOError, kNull);
	class internal {
	public:
		static Class getClosure();
		class instance : public AS3_NS::Error::internal::instance {
		public:
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
	AS3_CONSTR_DEF(IOError, ( AS3_NS::String = "", int = 0));
};
} //errors
} //flash
namespace flash {
namespace errors {
class MemoryError : public AS3_NS::Error {
protected:
	explicit MemoryError(unsigned id) : AS3_NS::Error(id) {}
public:
	AS3_BASE_DEF(MemoryError, kNull);
	class internal {
	public:
		static Class getClosure();
		class instance : public AS3_NS::Error::internal::instance {
		public:
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
	AS3_CONSTR_DEF(MemoryError, ( AS3_NS::String = "", int = 0));
};
} //errors
} //flash
namespace flash {
namespace errors {
class IllegalOperationError : public AS3_NS::Error {
protected:
	explicit IllegalOperationError(unsigned id) : AS3_NS::Error(id) {}
public:
	AS3_BASE_DEF(IllegalOperationError, kNull);
	class internal {
	public:
		static Class getClosure();
		class instance : public AS3_NS::Error::internal::instance {
		public:
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
	AS3_CONSTR_DEF(IllegalOperationError, ( AS3_NS::String = "", int = 0));
};
} //errors
} //flash
namespace flash {
namespace errors {
class EOFError : public AS3_NS::flash::errors::IOError {
protected:
	explicit EOFError(unsigned id) : AS3_NS::flash::errors::IOError(id) {}
public:
	AS3_BASE_DEF(EOFError, kNull);
	class internal {
	public:
		static Class getClosure();
		class instance : public AS3_NS::flash::errors::IOError::internal::instance {
		public:
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
	AS3_CONSTR_DEF(EOFError, ( AS3_NS::String = "", int = 0));
};
} //errors
} //flash
class Date : public AS3_NS::Object {
protected:
	explicit Date(unsigned id) : AS3_NS::Object(id) {}
public:
	AS3_BASE_DEF(Date, kNull);
	class internal {
		AS3_IPROP_SET_GET_DEF(double, date);
		AS3_IPROP_SET_GET_DEF(double, dateUTC);
		AS3_IPROP_GET_DEF(double, day);
		AS3_IPROP_GET_DEF(double, dayUTC);
		AS3_IPROP_SET_GET_DEF(double, fullYear);
		AS3_IPROP_SET_GET_DEF(double, fullYearUTC);
		AS3_IPROP_SET_GET_DEF(double, hours);
		AS3_IPROP_SET_GET_DEF(double, hoursUTC);
		AS3_IPROP_SET_GET_DEF(double, milliseconds);
		AS3_IPROP_SET_GET_DEF(double, millisecondsUTC);
		AS3_IPROP_SET_GET_DEF(double, minutes);
		AS3_IPROP_SET_GET_DEF(double, minutesUTC);
		AS3_IPROP_SET_GET_DEF(double, month);
		AS3_IPROP_SET_GET_DEF(double, monthUTC);
		AS3_IPROP_SET_GET_DEF(double, seconds);
		AS3_IPROP_SET_GET_DEF(double, secondsUTC);
		AS3_IPROP_SET_GET_DEF(double, time);
		AS3_IPROP_GET_DEF(double, timezoneOffset);
	public:
		static Class getClosure();
		AS3_PROP_GET_DEF(int, length);
		class instance : public AS3_NS::Object::internal::instance {
		public:
			AS3_IPROP(date);
			AS3_IPROP(dateUTC);
			AS3_IPROP(day);
			AS3_IPROP(dayUTC);
			AS3_IPROP(fullYear);
			AS3_IPROP(fullYearUTC);
			AS3_IPROP(hours);
			AS3_IPROP(hoursUTC);
			AS3_IPROP(milliseconds);
			AS3_IPROP(millisecondsUTC);
			AS3_IPROP(minutes);
			AS3_IPROP(minutesUTC);
			AS3_IPROP(month);
			AS3_IPROP(monthUTC);
			AS3_IPROP(seconds);
			AS3_IPROP(secondsUTC);
			AS3_IPROP(time);
			AS3_IPROP(timezoneOffset);
			AS3_METH_DEF(double, valueOf, ());
			AS3_METH_DEF(double, setTime, ( AS3_NS::var = AS3_NS::internal::_undefined));
			AS3_METH_DEF(AS3_NS::String, toString, ());
			AS3_METH_DEF(AS3_NS::String, toDateString, ());
			AS3_METH_DEF(AS3_NS::String, toTimeString, ());
			AS3_METH_DEF(AS3_NS::String, toLocaleString, ());
			AS3_METH_DEF(AS3_NS::String, toLocaleDateString, ());
			AS3_METH_DEF(AS3_NS::String, toLocaleTimeString, ());
			AS3_METH_DEF(AS3_NS::String, toUTCString, ());
			AS3_METH_DEF(double, getUTCFullYear, ());
			AS3_METH_DEF(double, getUTCMonth, ());
			AS3_METH_DEF(double, getUTCDate, ());
			AS3_METH_DEF(double, getUTCDay, ());
			AS3_METH_DEF(double, getUTCHours, ());
			AS3_METH_DEF(double, getUTCMinutes, ());
			AS3_METH_DEF(double, getUTCSeconds, ());
			AS3_METH_DEF(double, getUTCMilliseconds, ());
			AS3_METH_DEF(double, getFullYear, ());
			AS3_METH_DEF(double, getMonth, ());
			AS3_METH_DEF(double, getDate, ());
			AS3_METH_DEF(double, getDay, ());
			AS3_METH_DEF(double, getHours, ());
			AS3_METH_DEF(double, getMinutes, ());
			AS3_METH_DEF(double, getSeconds, ());
			AS3_METH_DEF(double, getMilliseconds, ());
			AS3_METH_DEF(double, getTimezoneOffset, ());
			AS3_METH_DEF(double, getTime, ());
			AS3_METH_DEF(double, setFullYear, ( AS3_NS::var = AS3_NS::internal::_undefined, AS3_NS::var = AS3_NS::internal::_undefined, AS3_NS::var = AS3_NS::internal::_undefined));
			AS3_METH_DEF(double, setMonth, ( AS3_NS::var = AS3_NS::internal::_undefined, AS3_NS::var = AS3_NS::internal::_undefined));
			AS3_METH_DEF(double, setDate, ( AS3_NS::var = AS3_NS::internal::_undefined));
			AS3_METH_DEF(double, setHours, ( AS3_NS::var = AS3_NS::internal::_undefined, AS3_NS::var = AS3_NS::internal::_undefined, AS3_NS::var = AS3_NS::internal::_undefined, AS3_NS::var = AS3_NS::internal::_undefined));
			AS3_METH_DEF(double, setMinutes, ( AS3_NS::var = AS3_NS::internal::_undefined, AS3_NS::var = AS3_NS::internal::_undefined, AS3_NS::var = AS3_NS::internal::_undefined));
			AS3_METH_DEF(double, setSeconds, ( AS3_NS::var = AS3_NS::internal::_undefined, AS3_NS::var = AS3_NS::internal::_undefined));
			AS3_METH_DEF(double, setMilliseconds, ( AS3_NS::var = AS3_NS::internal::_undefined));
			AS3_METH_DEF(double, setUTCFullYear, ( AS3_NS::var = AS3_NS::internal::_undefined, AS3_NS::var = AS3_NS::internal::_undefined, AS3_NS::var = AS3_NS::internal::_undefined));
			AS3_METH_DEF(double, setUTCMonth, ( AS3_NS::var = AS3_NS::internal::_undefined, AS3_NS::var = AS3_NS::internal::_undefined));
			AS3_METH_DEF(double, setUTCDate, ( AS3_NS::var = AS3_NS::internal::_undefined));
			AS3_METH_DEF(double, setUTCHours, ( AS3_NS::var = AS3_NS::internal::_undefined, AS3_NS::var = AS3_NS::internal::_undefined, AS3_NS::var = AS3_NS::internal::_undefined, AS3_NS::var = AS3_NS::internal::_undefined));
			AS3_METH_DEF(double, setUTCMinutes, ( AS3_NS::var = AS3_NS::internal::_undefined, AS3_NS::var = AS3_NS::internal::_undefined, AS3_NS::var = AS3_NS::internal::_undefined));
			AS3_METH_DEF(double, setUTCSeconds, ( AS3_NS::var = AS3_NS::internal::_undefined, AS3_NS::var = AS3_NS::internal::_undefined));
			AS3_METH_DEF(double, setUTCMilliseconds, ( AS3_NS::var = AS3_NS::internal::_undefined));
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
	static AS3_PROP(length);
	static AS3_METH_DEF(double, parse, ( AS3_NS::var));
	static AS3_METH_DEF(double, UTC, ( AS3_NS::var, AS3_NS::var, AS3_NS::var = AS3_NS::internal::new_int(1), AS3_NS::var = AS3_NS::internal::new_int(0), AS3_NS::var = AS3_NS::internal::new_int(0), AS3_NS::var = AS3_NS::internal::new_int(0), AS3_NS::var = AS3_NS::internal::new_int(0), int = 0, var * = NULL));
	AS3_CONSTR_DEF(Date, ());
	AS3_CONSTR_DEF(Date, ( var));
	AS3_CONSTR_DEF(Date, ( var, var));
	AS3_CONSTR_DEF(Date, ( var, var, var));
	AS3_CONSTR_DEF(Date, ( var, var, var, var));
	AS3_CONSTR_DEF(Date, ( var, var, var, var, var));
	AS3_CONSTR_DEF(Date, ( var, var, var, var, var, var));
	AS3_CONSTR_DEF(Date, ( var, var, var, var, var, var, var));
	AS3_CONSTR_DEF(Date, ( var, var, var, var, var, var, var, var));
	AS3_CONSTR_DEF(Date, ( var, var, var, var, var, var, var, var, var));
	AS3_CONSTR_DEF(Date, ( var, var, var, var, var, var, var, var, var, var));
};
class RegExp : public AS3_NS::Object {
protected:
	explicit RegExp(unsigned id) : AS3_NS::Object(id) {}
public:
	AS3_BASE_DEF(RegExp, kNull);
	class internal {
		AS3_IPROP_GET_DEF(bool, dotall);
		AS3_IPROP_GET_DEF(bool, extended);
		AS3_IPROP_GET_DEF(bool, global);
		AS3_IPROP_GET_DEF(bool, ignoreCase);
		AS3_IPROP_SET_GET_DEF(int, lastIndex);
		AS3_IPROP_GET_DEF(bool, multiline);
		AS3_IPROP_GET_DEF(AS3_NS::String, source);
	public:
		static Class getClosure();
		AS3_PROP_GET_DEF(int, length);
		class instance : public AS3_NS::Object::internal::instance {
		public:
			AS3_IPROP(dotall);
			AS3_IPROP(extended);
			AS3_IPROP(global);
			AS3_IPROP(ignoreCase);
			AS3_IPROP(lastIndex);
			AS3_IPROP(multiline);
			AS3_IPROP(source);
			AS3_METH_DEF(AS3_NS::var, exec, ( AS3_NS::String = ""));
			AS3_METH_DEF(bool, test, ( AS3_NS::String = ""));
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
	static AS3_PROP(length);
	AS3_CONSTR_DEF(RegExp, ( AS3_NS::var = AS3_NS::internal::_undefined, AS3_NS::var = AS3_NS::internal::_undefined));
};
class JSON : public AS3_NS::Object {
protected:
	explicit JSON(unsigned id) : AS3_NS::Object(id) {}
public:
	AS3_BASE_DEF(JSON, kNull);
	class internal {
	public:
		static Class getClosure();
		class instance : public AS3_NS::Object::internal::instance {
		public:
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
	static AS3_METH_DEF(AS3_NS::Object, parse, ( AS3_NS::String, AS3_NS::Function = *(AS3_NS::Function*)&AS3_NS::internal::_null));
	static AS3_METH_DEF(AS3_NS::String, stringify, ( AS3_NS::Object, AS3_NS::var = *(AS3_NS::var*)&AS3_NS::internal::_null, AS3_NS::var = *(AS3_NS::var*)&AS3_NS::internal::_null));
	AS3_CONSTR_DEF(JSON, ());
};
class XML : public AS3_NS::Object {
protected:
	explicit XML(unsigned id) : AS3_NS::Object(id) {}
public:
	AS3_BASE_DEF(XML, kNull);
	class internal {
	public:
		static Class getClosure();
		AS3_PROP_SET_GET_DEF(bool, ignoreComments);
		AS3_PROP_SET_GET_DEF(bool, ignoreProcessingInstructions);
		AS3_PROP_SET_GET_DEF(bool, ignoreWhitespace);
		AS3_PROP_GET_DEF(AS3_NS::var, length);
		AS3_PROP_SET_GET_DEF(int, prettyIndent);
		AS3_PROP_SET_GET_DEF(bool, prettyPrinting);
		class instance : public AS3_NS::Object::internal::instance {
		public:
			AS3_METH_DEF(AS3_NS::String, toString, ());
			AS3_METH_DEF(bool, hasOwnProperty, ( AS3_NS::var = AS3_NS::internal::_undefined));
			AS3_METH_DEF(bool, propertyIsEnumerable, ( AS3_NS::var = AS3_NS::internal::_undefined));
			AS3_METH_DEF(AS3_NS::XML, addNamespace, ( AS3_NS::var));
			AS3_METH_DEF(AS3_NS::XML, appendChild, ( AS3_NS::var));
			AS3_METH_DEF(AS3_NS::XMLList, attribute, ( AS3_NS::var));
			AS3_METH_DEF(AS3_NS::XMLList, attributes, ());
			AS3_METH_DEF(AS3_NS::XMLList, child, ( AS3_NS::var));
			AS3_METH_DEF(int, childIndex, ());
			AS3_METH_DEF(AS3_NS::XMLList, children, ());
			AS3_METH_DEF(AS3_NS::XMLList, comments, ());
			AS3_METH_DEF(bool, contains, ( AS3_NS::var));
			AS3_METH_DEF(AS3_NS::XML, copy, ());
			AS3_METH_DEF(AS3_NS::XMLList, descendants, ( AS3_NS::var = AS3_NS::internal::new_String("*")));
			AS3_METH_DEF(AS3_NS::XMLList, elements, ( AS3_NS::var = AS3_NS::internal::new_String("*")));
			AS3_METH_DEF(bool, hasComplexContent, ());
			AS3_METH_DEF(bool, hasSimpleContent, ());
			AS3_METH_DEF(AS3_NS::Array, inScopeNamespaces, ());
			AS3_METH_DEF(AS3_NS::var, insertChildAfter, ( AS3_NS::var, AS3_NS::var));
			AS3_METH_DEF(AS3_NS::var, insertChildBefore, ( AS3_NS::var, AS3_NS::var));
			AS3_METH_DEF(int, length, ());
			AS3_METH_DEF(AS3_NS::Object, localName, ());
			AS3_METH_DEF(AS3_NS::Object, name, ());
			AS3_METH_DEF(AS3_NS::var, _namespace, ( AS3_NS::var = *(AS3_NS::var*)&AS3_NS::internal::_null));
			AS3_METH_DEF(AS3_NS::Array, namespaceDeclarations, ());
			AS3_METH_DEF(AS3_NS::String, nodeKind, ());
			AS3_METH_DEF(AS3_NS::XML, normalize, ());
			AS3_METH_DEF(AS3_NS::var, parent, ());
			AS3_METH_DEF(AS3_NS::XMLList, processingInstructions, ( AS3_NS::var = AS3_NS::internal::new_String("*")));
			AS3_METH_DEF(AS3_NS::XML, prependChild, ( AS3_NS::var));
			AS3_METH_DEF(AS3_NS::XML, removeNamespace, ( AS3_NS::var));
			AS3_METH_DEF(AS3_NS::XML, replace, ( AS3_NS::var, AS3_NS::var));
			AS3_METH_DEF(AS3_NS::XML, setChildren, ( AS3_NS::var));
			AS3_METH_DEF(void, setLocalName, ( AS3_NS::var));
			AS3_METH_DEF(void, setName, ( AS3_NS::var));
			AS3_METH_DEF(void, setNamespace, ( AS3_NS::var));
			AS3_METH_DEF(AS3_NS::XMLList, text, ());
			AS3_METH_DEF(AS3_NS::String, toXMLString, ());
			AS3_METH_DEF(AS3_NS::Function, notification, ());
			AS3_METH_DEF(AS3_NS::var, setNotification, ( AS3_NS::Function));
			AS3_METH_DEF(AS3_NS::var, toJSON, ( AS3_NS::String));
			AS3_METH_DEF(AS3_NS::XML, valueOf, ());
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
	static AS3_PROP(ignoreComments);
	static AS3_PROP(ignoreProcessingInstructions);
	static AS3_PROP(ignoreWhitespace);
	static AS3_PROP(length);
	static AS3_PROP(prettyIndent);
	static AS3_PROP(prettyPrinting);
	static AS3_METH_DEF(AS3_NS::Object, settings, ());
	static AS3_METH_DEF(void, setSettings, ( AS3_NS::Object = *(AS3_NS::Object*)&AS3_NS::internal::_null));
	static AS3_METH_DEF(AS3_NS::Object, defaultSettings, ());
	AS3_CONSTR_DEF(XML, ( AS3_NS::var = AS3_NS::internal::_undefined));
};
class XMLList : public AS3_NS::Object {
protected:
	explicit XMLList(unsigned id) : AS3_NS::Object(id) {}
public:
	AS3_BASE_DEF(XMLList, kNull);
	class internal {
	public:
		static Class getClosure();
		AS3_PROP_GET_DEF(AS3_NS::var, length);
		class instance : public AS3_NS::Object::internal::instance {
		public:
			AS3_METH_DEF(AS3_NS::String, toString, ());
			AS3_METH_DEF(AS3_NS::XMLList, valueOf, ());
			AS3_METH_DEF(bool, hasOwnProperty, ( AS3_NS::var = AS3_NS::internal::_undefined));
			AS3_METH_DEF(bool, propertyIsEnumerable, ( AS3_NS::var = AS3_NS::internal::_undefined));
			AS3_METH_DEF(AS3_NS::XMLList, attribute, ( AS3_NS::var));
			AS3_METH_DEF(AS3_NS::XMLList, attributes, ());
			AS3_METH_DEF(AS3_NS::XMLList, child, ( AS3_NS::var));
			AS3_METH_DEF(AS3_NS::XMLList, children, ());
			AS3_METH_DEF(AS3_NS::XMLList, comments, ());
			AS3_METH_DEF(bool, contains, ( AS3_NS::var));
			AS3_METH_DEF(AS3_NS::XMLList, copy, ());
			AS3_METH_DEF(AS3_NS::XMLList, descendants, ( AS3_NS::var = AS3_NS::internal::new_String("*")));
			AS3_METH_DEF(AS3_NS::XMLList, elements, ( AS3_NS::var = AS3_NS::internal::new_String("*")));
			AS3_METH_DEF(bool, hasComplexContent, ());
			AS3_METH_DEF(bool, hasSimpleContent, ());
			AS3_METH_DEF(int, length, ());
			AS3_METH_DEF(AS3_NS::Object, name, ());
			AS3_METH_DEF(AS3_NS::XMLList, normalize, ());
			AS3_METH_DEF(AS3_NS::var, parent, ());
			AS3_METH_DEF(AS3_NS::XMLList, processingInstructions, ( AS3_NS::var = AS3_NS::internal::new_String("*")));
			AS3_METH_DEF(AS3_NS::XMLList, text, ());
			AS3_METH_DEF(AS3_NS::String, toXMLString, ());
			AS3_METH_DEF(AS3_NS::XML, addNamespace, ( AS3_NS::var));
			AS3_METH_DEF(AS3_NS::XML, appendChild, ( AS3_NS::var));
			AS3_METH_DEF(int, childIndex, ());
			AS3_METH_DEF(AS3_NS::Array, inScopeNamespaces, ());
			AS3_METH_DEF(AS3_NS::var, insertChildAfter, ( AS3_NS::var, AS3_NS::var));
			AS3_METH_DEF(AS3_NS::var, insertChildBefore, ( AS3_NS::var, AS3_NS::var));
			AS3_METH_DEF(AS3_NS::String, nodeKind, ());
			AS3_METH_DEF(AS3_NS::var, _namespace, ( AS3_NS::var = *(AS3_NS::var*)&AS3_NS::internal::_null));
			AS3_METH_DEF(AS3_NS::Object, localName, ());
			AS3_METH_DEF(AS3_NS::Array, namespaceDeclarations, ());
			AS3_METH_DEF(AS3_NS::XML, prependChild, ( AS3_NS::var));
			AS3_METH_DEF(AS3_NS::XML, removeNamespace, ( AS3_NS::var));
			AS3_METH_DEF(AS3_NS::XML, replace, ( AS3_NS::var, AS3_NS::var));
			AS3_METH_DEF(AS3_NS::XML, setChildren, ( AS3_NS::var));
			AS3_METH_DEF(void, setLocalName, ( AS3_NS::var));
			AS3_METH_DEF(void, setName, ( AS3_NS::var));
			AS3_METH_DEF(void, setNamespace, ( AS3_NS::var));
			AS3_METH_DEF(AS3_NS::var, toJSON, ( AS3_NS::String));
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
	static AS3_PROP(length);
	AS3_CONSTR_DEF(XMLList, ( AS3_NS::var = AS3_NS::internal::_undefined));
};
class QName : public AS3_NS::Object {
protected:
	explicit QName(unsigned id) : AS3_NS::Object(id) {}
public:
	AS3_BASE_DEF(QName, kNull);
	class internal {
		AS3_IPROP_GET_DEF(AS3_NS::String, localName);
		AS3_IPROP_GET_DEF(AS3_NS::var, uri);
	public:
		static Class getClosure();
		AS3_PROP_GET_DEF(AS3_NS::var, length);
		class instance : public AS3_NS::Object::internal::instance {
		public:
			AS3_IPROP(localName);
			AS3_IPROP(uri);
			AS3_METH_DEF(AS3_NS::QName, valueOf, ());
			AS3_METH_DEF(AS3_NS::String, toString, ());
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
	static AS3_PROP(length);
	AS3_CONSTR_DEF(QName, ( AS3_NS::var = AS3_NS::internal::_undefined, AS3_NS::var = AS3_NS::internal::_undefined));
};
namespace flash {
namespace utils {
class IDataInput : public AS3_NS::var {
protected:
	explicit IDataInput(unsigned id) : AS3_NS::var(id) {}
public:
	AS3_BASE_DEF(IDataInput, kNull);
	class internal {
		AS3_IPROP_GET_DEF(unsigned, bytesAvailable);
		AS3_IPROP_SET_GET_DEF(AS3_NS::String, endian);
		AS3_IPROP_SET_GET_DEF(unsigned, objectEncoding);
	public:
		static Class getClosure();
		class instance : public AS3_NS::var::internal::instance {
		public:
			AS3_IPROP(bytesAvailable);
			AS3_IPROP(endian);
			AS3_IPROP(objectEncoding);
			AS3_METH_DEF(void, readBytes, ( AS3_NS::flash::utils::ByteArray, unsigned = 0, unsigned = 0, void * = NULL));
			AS3_METH_DEF(bool, readBoolean, ());
			AS3_METH_DEF(int, readByte, ());
			AS3_METH_DEF(unsigned, readUnsignedByte, ());
			AS3_METH_DEF(int, readShort, ());
			AS3_METH_DEF(unsigned, readUnsignedShort, ());
			AS3_METH_DEF(int, readInt, ());
			AS3_METH_DEF(unsigned, readUnsignedInt, ());
			AS3_METH_DEF(double, readFloat, ());
			AS3_METH_DEF(double, readDouble, ());
			AS3_METH_DEF(AS3_NS::String, readMultiByte, ( unsigned, AS3_NS::String));
			AS3_METH_DEF(AS3_NS::String, readUTF, ());
			AS3_METH_DEF(AS3_NS::String, readUTFBytes, ( unsigned));
			AS3_METH_DEF(AS3_NS::var, readObject, ());
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
};
} //utils
} //flash
namespace flash {
namespace utils {
class IDataOutput : public AS3_NS::var {
protected:
	explicit IDataOutput(unsigned id) : AS3_NS::var(id) {}
public:
	AS3_BASE_DEF(IDataOutput, kNull);
	class internal {
		AS3_IPROP_SET_GET_DEF(AS3_NS::String, endian);
		AS3_IPROP_SET_GET_DEF(unsigned, objectEncoding);
	public:
		static Class getClosure();
		class instance : public AS3_NS::var::internal::instance {
		public:
			AS3_IPROP(endian);
			AS3_IPROP(objectEncoding);
			AS3_METH_DEF(void, writeBytes, ( AS3_NS::flash::utils::ByteArray, unsigned = 0, unsigned = 0, void * = NULL));
			AS3_METH_DEF(void, writeBoolean, ( bool));
			AS3_METH_DEF(void, writeByte, ( int));
			AS3_METH_DEF(void, writeShort, ( int));
			AS3_METH_DEF(void, writeInt, ( int));
			AS3_METH_DEF(void, writeUnsignedInt, ( unsigned));
			AS3_METH_DEF(void, writeFloat, ( double));
			AS3_METH_DEF(void, writeDouble, ( double));
			AS3_METH_DEF(void, writeMultiByte, ( AS3_NS::String, AS3_NS::String));
			AS3_METH_DEF(void, writeUTF, ( AS3_NS::String));
			AS3_METH_DEF(void, writeUTFBytes, ( AS3_NS::String));
			AS3_METH_DEF(void, writeObject, ( AS3_NS::var));
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
};
} //utils
} //flash
namespace flash {
namespace utils {
class Proxy : public AS3_NS::Object {
protected:
	explicit Proxy(unsigned id) : AS3_NS::Object(id) {}
public:
	AS3_BASE_DEF(Proxy, kNull);
	class internal {
	public:
		static Class getClosure();
		class instance : public AS3_NS::Object::internal::instance {
		public:
			AS3_METH_DEF(AS3_NS::var, getProperty, ( AS3_NS::var));
			AS3_METH_DEF(void, setProperty, ( AS3_NS::var, AS3_NS::var));
			AS3_METH_DEF(AS3_NS::var, callProperty, ( AS3_NS::var, int = 0, var * = NULL));
			AS3_METH_DEF(bool, hasProperty, ( AS3_NS::var));
			AS3_METH_DEF(bool, deleteProperty, ( AS3_NS::var));
			AS3_METH_DEF(AS3_NS::var, getDescendants, ( AS3_NS::var));
			AS3_METH_DEF(int, nextNameIndex, ( int));
			AS3_METH_DEF(AS3_NS::String, nextName, ( int));
			AS3_METH_DEF(AS3_NS::var, nextValue, ( int));
			AS3_METH_DEF(bool, isAttribute, ( AS3_NS::var));
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
	AS3_CONSTR_DEF(Proxy, ());
};
} //utils
} //flash
namespace flash {
namespace utils {
class Dictionary : public AS3_NS::Object {
protected:
	explicit Dictionary(unsigned id) : AS3_NS::Object(id) {}
public:
	AS3_BASE_DEF(Dictionary, kNull);
	class internal {
	public:
		static Class getClosure();
		class instance : public AS3_NS::Object::internal::instance {
		public:
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
	AS3_CONSTR_DEF(Dictionary, ( bool = false));
};
} //utils
} //flash
namespace flash {
namespace net {
class IDynamicPropertyOutput : public AS3_NS::var {
protected:
	explicit IDynamicPropertyOutput(unsigned id) : AS3_NS::var(id) {}
public:
	AS3_BASE_DEF(IDynamicPropertyOutput, kNull);
	class internal {
	public:
		static Class getClosure();
		class instance : public AS3_NS::var::internal::instance {
		public:
			AS3_METH_DEF(void, writeDynamicProperty, ( AS3_NS::String, AS3_NS::var));
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
};
} //net
} //flash
namespace flash {
namespace net {
class IDynamicPropertyWriter : public AS3_NS::var {
protected:
	explicit IDynamicPropertyWriter(unsigned id) : AS3_NS::var(id) {}
public:
	AS3_BASE_DEF(IDynamicPropertyWriter, kNull);
	class internal {
	public:
		static Class getClosure();
		class instance : public AS3_NS::var::internal::instance {
		public:
			AS3_METH_DEF(void, writeDynamicProperties, ( AS3_NS::Object, AS3_NS::flash::net::IDynamicPropertyOutput));
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
};
} //net
} //flash
namespace flash {
namespace utils {
class IExternalizable : public AS3_NS::var {
protected:
	explicit IExternalizable(unsigned id) : AS3_NS::var(id) {}
public:
	AS3_BASE_DEF(IExternalizable, kNull);
	class internal {
	public:
		static Class getClosure();
		class instance : public AS3_NS::var::internal::instance {
		public:
			AS3_METH_DEF(void, writeExternal, ( AS3_NS::flash::utils::IDataOutput));
			AS3_METH_DEF(void, readExternal, ( AS3_NS::flash::utils::IDataInput));
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
};
} //utils
} //flash
namespace flash {
namespace net {
class ObjectEncoding : public AS3_NS::Object {
protected:
	explicit ObjectEncoding(unsigned id) : AS3_NS::Object(id) {}
public:
	AS3_BASE_DEF(ObjectEncoding, kNull);
	class internal {
	public:
		static Class getClosure();
		AS3_PROP_GET_DEF(unsigned, AMF0);
		AS3_PROP_GET_DEF(unsigned, AMF3);
		AS3_PROP_GET_DEF(unsigned, DEFAULT);
		AS3_PROP_SET_GET_DEF(AS3_NS::flash::net::IDynamicPropertyWriter, dynamicPropertyWriter);
		class instance : public AS3_NS::Object::internal::instance {
		public:
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
	static AS3_PROP(AMF0);
	static AS3_PROP(AMF3);
	static AS3_PROP(DEFAULT);
	static AS3_PROP(dynamicPropertyWriter);
	AS3_CONSTR_DEF(ObjectEncoding, ());
};
} //net
} //flash
namespace flash {
namespace concurrent {
class Mutex : public AS3_NS::Object {
protected:
	explicit Mutex(unsigned id) : AS3_NS::Object(id) {}
public:
	AS3_BASE_DEF(Mutex, kNull);
	class internal {
	public:
		static Class getClosure();
		AS3_PROP_GET_DEF(bool, isSupported);
		class instance : public AS3_NS::Object::internal::instance {
		public:
			AS3_METH_DEF(void, lock, ());
			AS3_METH_DEF(bool, tryLock, ());
			AS3_METH_DEF(void, unlock, ());
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
	static AS3_PROP(isSupported);
	AS3_CONSTR_DEF(Mutex, ());
};
} //concurrent
} //flash
namespace flash {
namespace concurrent {
class Condition : public AS3_NS::Object {
protected:
	explicit Condition(unsigned id) : AS3_NS::Object(id) {}
public:
	AS3_BASE_DEF(Condition, kNull);
	class internal {
		AS3_IPROP_GET_DEF(AS3_NS::flash::concurrent::Mutex, mutex);
	public:
		static Class getClosure();
		AS3_PROP_GET_DEF(bool, isSupported);
		class instance : public AS3_NS::Object::internal::instance {
		public:
			AS3_IPROP(mutex);
			AS3_METH_DEF(bool, wait, ( double = -1));
			AS3_METH_DEF(void, notify, ());
			AS3_METH_DEF(void, notifyAll, ());
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
	static AS3_PROP(isSupported);
	AS3_CONSTR_DEF(Condition, ( AS3_NS::flash::concurrent::Mutex));
};
} //concurrent
} //flash
namespace flash {
namespace utils {
class CompressionAlgorithm : public AS3_NS::Object {
protected:
	explicit CompressionAlgorithm(unsigned id) : AS3_NS::Object(id) {}
public:
	AS3_BASE_DEF(CompressionAlgorithm, kNull);
	class internal {
	public:
		static Class getClosure();
		AS3_PROP_GET_DEF(AS3_NS::String, DEFLATE);
		AS3_PROP_GET_DEF(AS3_NS::String, LZMA);
		AS3_PROP_GET_DEF(AS3_NS::String, ZLIB);
		class instance : public AS3_NS::Object::internal::instance {
		public:
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
	static AS3_PROP(DEFLATE);
	static AS3_PROP(LZMA);
	static AS3_PROP(ZLIB);
	AS3_CONSTR_DEF(CompressionAlgorithm, ());
};
} //utils
} //flash
namespace flash {
namespace utils {
class ByteArray : public AS3_NS::Object {
protected:
	explicit ByteArray(unsigned id) : AS3_NS::Object(id) {}
public:
	AS3_BASE_DEF(ByteArray, kNull);
	class internal {
		AS3_IPROP_GET_DEF(unsigned, bytesAvailable);
		AS3_IPROP_SET_GET_DEF(AS3_NS::String, endian);
		AS3_IPROP_SET_GET_DEF(unsigned, length);
		AS3_IPROP_SET_GET_DEF(unsigned, objectEncoding);
		AS3_IPROP_SET_GET_DEF(unsigned, position);
		AS3_IPROP_SET_GET_DEF(bool, shareable);
	public:
		static Class getClosure();
		AS3_PROP_SET_GET_DEF(unsigned, defaultObjectEncoding);
		class instance : public AS3_NS::Object::internal::instance {
		public:
			AS3_IPROP(bytesAvailable);
			AS3_IPROP(endian);
			AS3_IPROP(length);
			AS3_IPROP(objectEncoding);
			AS3_IPROP(position);
			AS3_IPROP(shareable);
			AS3_METH_DEF(void, readBytes, ( AS3_NS::flash::utils::ByteArray, unsigned = 0, unsigned = 0, void * = NULL));
			AS3_METH_DEF(void, writeBytes, ( AS3_NS::flash::utils::ByteArray, unsigned = 0, unsigned = 0, void * = NULL));
			AS3_METH_DEF(void, writeBoolean, ( bool, void * = NULL));
			AS3_METH_DEF(void, writeByte, ( int, void * = NULL));
			AS3_METH_DEF(void, writeShort, ( int, void * = NULL));
			AS3_METH_DEF(void, writeInt, ( int, void * = NULL));
			AS3_METH_DEF(void, writeUnsignedInt, ( unsigned, void * = NULL));
			AS3_METH_DEF(void, writeFloat, ( double, void * = NULL));
			AS3_METH_DEF(void, writeDouble, ( double, void * = NULL));
			AS3_METH_DEF(void, writeMultiByte, ( AS3_NS::String, AS3_NS::String, void * = NULL));
			AS3_METH_DEF(void, writeUTF, ( AS3_NS::String, void * = NULL));
			AS3_METH_DEF(void, writeUTFBytes, ( AS3_NS::String, void * = NULL));
			AS3_METH_DEF(bool, readBoolean, ( void * = NULL));
			AS3_METH_DEF(int, readByte, ( void * = NULL));
			AS3_METH_DEF(unsigned, readUnsignedByte, ( void * = NULL));
			AS3_METH_DEF(int, readShort, ( void * = NULL));
			AS3_METH_DEF(unsigned, readUnsignedShort, ( void * = NULL));
			AS3_METH_DEF(int, readInt, ( void * = NULL));
			AS3_METH_DEF(unsigned, readUnsignedInt, ( void * = NULL));
			AS3_METH_DEF(double, readFloat, ( void * = NULL));
			AS3_METH_DEF(double, readDouble, ( void * = NULL));
			AS3_METH_DEF(AS3_NS::String, readMultiByte, ( unsigned, AS3_NS::String, void * = NULL));
			AS3_METH_DEF(AS3_NS::String, readUTF, ( void * = NULL));
			AS3_METH_DEF(AS3_NS::String, readUTFBytes, ( unsigned, void * = NULL));
			AS3_METH_DEF(void, writeObject, ( AS3_NS::var, void * = NULL));
			AS3_METH_DEF(AS3_NS::var, readObject, ( void * = NULL));
			AS3_METH_DEF(void, deflate, ( void * = NULL));
			AS3_METH_DEF(void, compress, ( AS3_NS::String = "zlib", void * = NULL));
			AS3_METH_DEF(void, inflate, ( void * = NULL));
			AS3_METH_DEF(void, uncompress, ( AS3_NS::String = "zlib", void * = NULL));
			AS3_METH_DEF(AS3_NS::String, toString, ( void * = NULL));
			AS3_METH_DEF(void, clear, ( void * = NULL));
			AS3_METH_DEF(int, atomicCompareAndSwapIntAt, ( int, int, int, void * = NULL));
			AS3_METH_DEF(int, atomicCompareAndSwapLength, ( int, int, void * = NULL));
		};
	};
	internal::instance *operator->() { return (internal::instance *)this; }
	static AS3_PROP(defaultObjectEncoding);
	AS3_CONSTR_DEF(ByteArray, ( void * = NULL));
};
} //utils
} //flash
#pragma GCC diagnostic ignored "-Wdiv-by-zero" pop
#else // class implementations
AS3_BASE_IMPL(, Object, "", "Object");
AS3_PROP_GET_SIMPL(int, length, Object, "Object.length", "Object");
AS3_IMETH_IMPL(bool, , Object, isPrototypeOf, ( AS3_NS::var arg0), {
	unsigned eid;
	bool res;
	inline_as3 ("import Object; var thiz:Object = as3_id2rcv[%2].val; try { %1 = thiz.isPrototypeOf(as3_id2rcv[%3].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_IMETH_IMPL(bool, , Object, hasOwnProperty, ( AS3_NS::var arg0), {
	unsigned eid;
	bool res;
	inline_as3 ("import Object; var thiz:Object = as3_id2rcv[%2].val; try { %1 = thiz.hasOwnProperty(as3_id2rcv[%3].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_IMETH_IMPL(bool, , Object, propertyIsEnumerable, ( AS3_NS::var arg0), {
	unsigned eid;
	bool res;
	inline_as3 ("import Object; var thiz:Object = as3_id2rcv[%2].val; try { %1 = thiz.propertyIsEnumerable(as3_id2rcv[%3].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_METH_IMPL(AS3_NS::var, Object::_init, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Object; try { %1 = as3_valAcquireId(Object._init()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::var res;
	AS3_GET_ID(res) = id;
	return res;
}, 4)
AS3_CONSTR_IMPL(, Object, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Object; try { %1 = as3_valAcquireId(new Object()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Object res;
	AS3_GET_ID(res) = id;
	return res;
}, 4)
AS3_BASE_IMPL(, Class, "", "Class");
AS3_IPROP_GET_IMPL(AS3_NS::var, prototype, , Class, "prototype");
AS3_PROP_GET_SIMPL(int, length, Class, "Class.length", "Class");
AS3_CONSTR_IMPL(, Class, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Class; try { %1 = as3_valAcquireId(new Class()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Class res;
	AS3_GET_ID(res) = id;
	return res;
}, 4)
AS3_BASE_IMPL(, Function, "", "Function");
AS3_IPROP_GET_SIMPL(int, length, , Function, "length");
AS3_IPROP_SET_GET_IMPL(AS3_NS::var, prototype, , Function, "prototype");
AS3_PROP_GET_SIMPL(int, length, Function, "Function.length", "Function");
AS3_IMETH_IMPL(AS3_NS::var, , Function, call, ( AS3_NS::var arg0, int restCount, var *rest), {
	unsigned eid;
	unsigned id;
	var va = AS3_NS::internal::new_Array(restCount, rest);
	inline_as3 ("import Function; var thiz:Function = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.call.apply(thiz, [as3_id2rcv[%3].val].concat(as3_id2rcv[%4].val))); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(va)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::var res;
	AS3_GET_ID(res) = id;
	return res;
}, 20)
AS3_IMETH_IMPL(AS3_NS::var, , Function, apply, ( AS3_NS::var arg0, AS3_NS::var arg1), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Function; var thiz:Function = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.apply(as3_id2rcv[%3].val, as3_id2rcv[%4].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::var res;
	AS3_GET_ID(res) = id;
	return res;
}, 16)
AS3_METH_IMPL(AS3_NS::Function, Function::createEmptyFunction, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Function; try { %1 = as3_valAcquireId(Function.createEmptyFunction()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Function res;
	AS3_GET_ID(res) = id;
	return res;
}, 4)
AS3_CONSTR_IMPL(, Function, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Function; try { %1 = as3_valAcquireId(new Function()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Function res;
	AS3_GET_ID(res) = id;
	return res;
}, 4)
Function Function::_new(var (*fun)(void *data, var args), void *data) { return AS3_NS::internal::new_Function(fun, data); }
AS3_BASE_IMPL(, Namespace, "", "Namespace");
AS3_IPROP_GET_IMPL(AS3_NS::var, prefix, , Namespace, "prefix");
AS3_IPROP_GET_IMPL(AS3_NS::String, uri, , Namespace, "uri");
AS3_PROP_GET_IMPL(AS3_NS::var, length, Namespace, "Namespace.length", "Namespace");
AS3_IMETH_IMPL(AS3_NS::String, , Namespace, valueOf, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Namespace; var thiz:Namespace = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.valueOf()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::String, , Namespace, toString, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Namespace; var thiz:Namespace = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.toString()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_CONSTR_IMPL(, Namespace, ( AS3_NS::var arg0, AS3_NS::var arg1), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Namespace; try { %1 = as3_valAcquireId(new Namespace(as3_id2rcv[%2].val, as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Namespace res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_BASE_IMPL(, Boolean, "", "Boolean");
AS3_PROP_GET_SIMPL(int, length, Boolean, "Boolean.length", "Boolean");
AS3_IMETH_IMPL(AS3_NS::String, , Boolean, toString, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Boolean; var thiz:Boolean = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.toString()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(bool, , Boolean, valueOf, (), {
	unsigned eid;
	bool res;
	inline_as3 ("import Boolean; var thiz:Boolean = as3_id2rcv[%2].val; try { %1 = thiz.valueOf(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_CONSTR_IMPL(, Boolean, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Boolean; try { %1 = as3_valAcquireId(new Boolean(as3_id2rcv[%2].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Boolean res;
	AS3_GET_ID(res) = id;
	return res;
}, 4)
Boolean Boolean::_new(bool b) { return AS3_NS::internal::new_Boolean(b); }
AS3_BASE_IMPL(, Number, "", "Number");
AS3_PROP_GET_SIMPL(double, E, Number, "Number.E", "Number");
AS3_PROP_GET_SIMPL(double, LN10, Number, "Number.LN10", "Number");
AS3_PROP_GET_SIMPL(double, LN2, Number, "Number.LN2", "Number");
AS3_PROP_GET_SIMPL(double, LOG10E, Number, "Number.LOG10E", "Number");
AS3_PROP_GET_SIMPL(double, LOG2E, Number, "Number.LOG2E", "Number");
AS3_PROP_GET_SIMPL(double, MAX_VALUE, Number, "Number.MAX_VALUE", "Number");
AS3_PROP_GET_SIMPL(double, MIN_VALUE, Number, "Number.MIN_VALUE", "Number");
AS3_PROP_GET_SIMPL(double, NEGATIVE_INFINITY, Number, "Number.NEGATIVE_INFINITY", "Number");
AS3_PROP_GET_SIMPL(double, NaN, Number, "Number.NaN", "Number");
AS3_PROP_GET_SIMPL(double, PI, Number, "Number.PI", "Number");
AS3_PROP_GET_SIMPL(double, POSITIVE_INFINITY, Number, "Number.POSITIVE_INFINITY", "Number");
AS3_PROP_GET_SIMPL(double, SQRT1_2, Number, "Number.SQRT1_2", "Number");
AS3_PROP_GET_SIMPL(double, SQRT2, Number, "Number.SQRT2", "Number");
AS3_PROP_GET_SIMPL(int, length, Number, "Number.length", "Number");
AS3_IMETH_IMPL(AS3_NS::String, , Number, toString, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Number; var thiz:Number = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.toString(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(double, , Number, valueOf, (), {
	unsigned eid;
	double res;
	inline_as3 ("import Number; var thiz:Number = as3_id2rcv[%2].val; try { %1 = thiz.valueOf(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_IMETH_IMPL(AS3_NS::String, , Number, toExponential, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Number; var thiz:Number = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.toExponential(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(AS3_NS::String, , Number, toPrecision, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Number; var thiz:Number = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.toPrecision(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(AS3_NS::String, , Number, toFixed, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Number; var thiz:Number = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.toFixed(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_METH_IMPL(double, Number::abs, ( double arg0), {
	unsigned eid;
	double res;
	inline_as3 ("import Number; try { %1 = Number.abs(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_METH_IMPL(double, Number::acos, ( double arg0), {
	unsigned eid;
	double res;
	inline_as3 ("import Number; try { %1 = Number.acos(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_METH_IMPL(double, Number::asin, ( double arg0), {
	unsigned eid;
	double res;
	inline_as3 ("import Number; try { %1 = Number.asin(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_METH_IMPL(double, Number::atan, ( double arg0), {
	unsigned eid;
	double res;
	inline_as3 ("import Number; try { %1 = Number.atan(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_METH_IMPL(double, Number::ceil, ( double arg0), {
	unsigned eid;
	double res;
	inline_as3 ("import Number; try { %1 = Number.ceil(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_METH_IMPL(double, Number::cos, ( double arg0), {
	unsigned eid;
	double res;
	inline_as3 ("import Number; try { %1 = Number.cos(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_METH_IMPL(double, Number::exp, ( double arg0), {
	unsigned eid;
	double res;
	inline_as3 ("import Number; try { %1 = Number.exp(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_METH_IMPL(double, Number::floor, ( double arg0), {
	unsigned eid;
	double res;
	inline_as3 ("import Number; try { %1 = Number.floor(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_METH_IMPL(double, Number::log, ( double arg0), {
	unsigned eid;
	double res;
	inline_as3 ("import Number; try { %1 = Number.log(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_METH_IMPL(double, Number::round, ( double arg0), {
	unsigned eid;
	double res;
	inline_as3 ("import Number; try { %1 = Number.round(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_METH_IMPL(double, Number::sin, ( double arg0), {
	unsigned eid;
	double res;
	inline_as3 ("import Number; try { %1 = Number.sin(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_METH_IMPL(double, Number::sqrt, ( double arg0), {
	unsigned eid;
	double res;
	inline_as3 ("import Number; try { %1 = Number.sqrt(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_METH_IMPL(double, Number::tan, ( double arg0), {
	unsigned eid;
	double res;
	inline_as3 ("import Number; try { %1 = Number.tan(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_METH_IMPL(double, Number::atan2, ( double arg0, double arg1), {
	unsigned eid;
	double res;
	inline_as3 ("import Number; try { %1 = Number.atan2(%2, %3); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(arg0), "r"(arg1));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 16)
AS3_METH_IMPL(double, Number::pow, ( double arg0, double arg1), {
	unsigned eid;
	double res;
	inline_as3 ("import Number; try { %1 = Number.pow(%2, %3); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(arg0), "r"(arg1));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 16)
AS3_METH_IMPL(double, Number::max, ( double arg0, double arg1, int restCount, var *rest), {
	unsigned eid;
	double res;
	var va = AS3_NS::internal::new_Array(restCount, rest);
	inline_as3 ("import Number; try { %1 = Number.max.apply(Number, [%2, %3].concat(as3_id2rcv[%4].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(arg0), "r"(arg1), "r"(AS3_GET_ID(va)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 24)
AS3_METH_IMPL(double, Number::min, ( double arg0, double arg1, int restCount, var *rest), {
	unsigned eid;
	double res;
	var va = AS3_NS::internal::new_Array(restCount, rest);
	inline_as3 ("import Number; try { %1 = Number.min.apply(Number, [%2, %3].concat(as3_id2rcv[%4].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(arg0), "r"(arg1), "r"(AS3_GET_ID(va)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 24)
AS3_METH_IMPL(double, Number::random, (), {
	unsigned eid;
	double res;
	inline_as3 ("import Number; try { %1 = Number.random(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 0)
AS3_CONSTR_IMPL(, Number, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Number; try { %1 = as3_valAcquireId(new Number(as3_id2rcv[%2].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Number res;
	AS3_GET_ID(res) = id;
	return res;
}, 4)
Number Number::_new(double n) { return AS3_NS::internal::new_Number(n); }
AS3_BASE_IMPL(, _int, "", "int");
AS3_PROP_GET_SIMPL(int, MAX_VALUE, _int, "int.MAX_VALUE", "int");
AS3_PROP_GET_SIMPL(int, MIN_VALUE, _int, "int.MIN_VALUE", "int");
AS3_PROP_GET_SIMPL(int, length, _int, "int.length", "int");
AS3_IMETH_IMPL(AS3_NS::String, , _int, toString, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import int; var thiz:int = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.toString(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(int, , _int, valueOf, (), {
	unsigned eid;
	int res;
	inline_as3 ("import int; var thiz:int = as3_id2rcv[%2].val; try { %1 = thiz.valueOf(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_IMETH_IMPL(AS3_NS::String, , _int, toExponential, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import int; var thiz:int = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.toExponential(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(AS3_NS::String, , _int, toPrecision, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import int; var thiz:int = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.toPrecision(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(AS3_NS::String, , _int, toFixed, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import int; var thiz:int = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.toFixed(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_CONSTR_IMPL(, _int, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import int; try { %1 = as3_valAcquireId(new int(as3_id2rcv[%2].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::_int res;
	AS3_GET_ID(res) = id;
	return res;
}, 4)
_int _int::_new(int n) { return AS3_NS::internal::new_int(n); }
AS3_BASE_IMPL(, uint, "", "uint");
AS3_PROP_GET_SIMPL(unsigned, MAX_VALUE, uint, "uint.MAX_VALUE", "uint");
AS3_PROP_GET_SIMPL(unsigned, MIN_VALUE, uint, "uint.MIN_VALUE", "uint");
AS3_PROP_GET_SIMPL(int, length, uint, "uint.length", "uint");
AS3_IMETH_IMPL(AS3_NS::String, , uint, toString, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import uint; var thiz:uint = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.toString(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(unsigned, , uint, valueOf, (), {
	unsigned eid;
	unsigned res;
	inline_as3 ("import uint; var thiz:uint = as3_id2rcv[%2].val; try { %1 = thiz.valueOf(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_IMETH_IMPL(AS3_NS::String, , uint, toExponential, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import uint; var thiz:uint = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.toExponential(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(AS3_NS::String, , uint, toPrecision, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import uint; var thiz:uint = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.toPrecision(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(AS3_NS::String, , uint, toFixed, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import uint; var thiz:uint = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.toFixed(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_CONSTR_IMPL(, uint, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import uint; try { %1 = as3_valAcquireId(new uint(as3_id2rcv[%2].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::uint res;
	AS3_GET_ID(res) = id;
	return res;
}, 4)
uint uint::_new(unsigned n) { return AS3_NS::internal::new_uint(n); }
AS3_BASE_IMPL(, String, "", "String");
AS3_IPROP_GET_SIMPL(int, length, , String, "length");
AS3_PROP_GET_SIMPL(int, length, String, "String.length", "String");
AS3_IMETH_IMPL(int, , String, indexOf, ( AS3_NS::String arg0, double arg1), {
	unsigned eid;
	int res;
	inline_as3 ("import String; var thiz:String = as3_id2rcv[%2].val; try { %1 = thiz.indexOf(as3_id2rcv[%3].val, %4); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(arg1));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 16)
AS3_IMETH_IMPL(int, , String, lastIndexOf, ( AS3_NS::String arg0, double arg1), {
	unsigned eid;
	int res;
	inline_as3 ("import String; var thiz:String = as3_id2rcv[%2].val; try { %1 = thiz.lastIndexOf(as3_id2rcv[%3].val, %4); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(arg1));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 16)
AS3_IMETH_IMPL(AS3_NS::String, , String, charAt, ( double arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import String; var thiz:String = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.charAt(%3)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 16)
AS3_IMETH_IMPL(double, , String, charCodeAt, ( double arg0), {
	unsigned eid;
	double res;
	inline_as3 ("import String; var thiz:String = as3_id2rcv[%2].val; try { %1 = thiz.charCodeAt(%3); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 12)
AS3_IMETH_IMPL(AS3_NS::String, , String, concat, ( int restCount, var *rest), {
	unsigned eid;
	unsigned id;
	var va = AS3_NS::internal::new_Array(restCount, rest);
	inline_as3 ("import String; var thiz:String = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.concat.apply(thiz, [].concat(as3_id2rcv[%3].val))); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(va)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 16)
AS3_IMETH_IMPL(int, , String, localeCompare, ( AS3_NS::var arg0), {
	unsigned eid;
	int res;
	inline_as3 ("import String; var thiz:String = as3_id2rcv[%2].val; try { %1 = thiz.localeCompare(as3_id2rcv[%3].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::Array, , String, match, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import String; var thiz:String = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.match(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Array res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(AS3_NS::String, , String, replace, ( AS3_NS::var arg0, AS3_NS::var arg1), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import String; var thiz:String = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.replace(as3_id2rcv[%3].val, as3_id2rcv[%4].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 16)
AS3_IMETH_IMPL(int, , String, search, ( AS3_NS::var arg0), {
	unsigned eid;
	int res;
	inline_as3 ("import String; var thiz:String = as3_id2rcv[%2].val; try { %1 = thiz.search(as3_id2rcv[%3].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::String, , String, slice, ( double arg0, double arg1), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import String; var thiz:String = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.slice(%3, %4)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(arg0), "r"(arg1));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 24)
AS3_IMETH_IMPL(AS3_NS::Array, , String, split, ( AS3_NS::var arg0, AS3_NS::var arg1), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import String; var thiz:String = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.split(as3_id2rcv[%3].val, as3_id2rcv[%4].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Array res;
	AS3_GET_ID(res) = id;
	return res;
}, 16)
AS3_IMETH_IMPL(AS3_NS::String, , String, substring, ( double arg0, double arg1), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import String; var thiz:String = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.substring(%3, %4)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(arg0), "r"(arg1));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 24)
AS3_IMETH_IMPL(AS3_NS::String, , String, substr, ( double arg0, double arg1), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import String; var thiz:String = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.substr(%3, %4)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(arg0), "r"(arg1));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 24)
AS3_IMETH_IMPL(AS3_NS::String, , String, toLowerCase, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import String; var thiz:String = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.toLowerCase()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::String, , String, toLocaleLowerCase, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import String; var thiz:String = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.toLocaleLowerCase()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::String, , String, toUpperCase, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import String; var thiz:String = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.toUpperCase()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::String, , String, toLocaleUpperCase, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import String; var thiz:String = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.toLocaleUpperCase()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::String, , String, toString, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import String; var thiz:String = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.toString()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::String, , String, valueOf, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import String; var thiz:String = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.valueOf()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_METH_IMPL(AS3_NS::String, String::fromCharCode, ( int restCount, var *rest), {
	unsigned eid;
	unsigned id;
	var va = AS3_NS::internal::new_Array(restCount, rest);
	inline_as3 ("import String; try { %1 = as3_valAcquireId(String.fromCharCode.apply(String, [].concat(as3_id2rcv[%2].val))); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(va)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_CONSTR_IMPL(, String, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import String; try { %1 = as3_valAcquireId(new String(as3_id2rcv[%2].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
String String::_new(const char *sz, int len) { return AS3_NS::internal::new_String(sz, len); }
String::String(const char *sz) { *this = AS3_NS::internal::new_String(sz, -1); }
AS3_BASE_IMPL(, Array, "", "Array");
AS3_IPROP_SET_GET_SIMPL(unsigned, length, , Array, "length");
AS3_PROP_GET_SIMPL(unsigned, CASEINSENSITIVE, Array, "Array.CASEINSENSITIVE", "Array");
AS3_PROP_GET_SIMPL(unsigned, DESCENDING, Array, "Array.DESCENDING", "Array");
AS3_PROP_GET_SIMPL(unsigned, NUMERIC, Array, "Array.NUMERIC", "Array");
AS3_PROP_GET_SIMPL(unsigned, RETURNINDEXEDARRAY, Array, "Array.RETURNINDEXEDARRAY", "Array");
AS3_PROP_GET_SIMPL(unsigned, UNIQUESORT, Array, "Array.UNIQUESORT", "Array");
AS3_PROP_GET_SIMPL(int, length, Array, "Array.length", "Array");
AS3_IMETH_IMPL(AS3_NS::String, , Array, join, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Array; var thiz:Array = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.join(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(AS3_NS::var, , Array, pop, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Array; var thiz:Array = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.pop()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::var res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(unsigned, , Array, push, ( int restCount, var *rest), {
	unsigned eid;
	unsigned res;
	var va = AS3_NS::internal::new_Array(restCount, rest);
	inline_as3 ("import Array; var thiz:Array = as3_id2rcv[%2].val; try { %1 = thiz.push.apply(thiz, [].concat(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(AS3_GET_ID(va)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 12)
AS3_IMETH_IMPL(AS3_NS::Array, , Array, reverse, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Array; var thiz:Array = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.reverse()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Array res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::Array, , Array, concat, ( int restCount, var *rest), {
	unsigned eid;
	unsigned id;
	var va = AS3_NS::internal::new_Array(restCount, rest);
	inline_as3 ("import Array; var thiz:Array = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.concat.apply(thiz, [].concat(as3_id2rcv[%3].val))); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(va)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Array res;
	AS3_GET_ID(res) = id;
	return res;
}, 16)
AS3_IMETH_IMPL(AS3_NS::var, , Array, shift, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Array; var thiz:Array = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.shift()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::var res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::Array, , Array, slice, ( AS3_NS::var arg0, AS3_NS::var arg1), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Array; var thiz:Array = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.slice(as3_id2rcv[%3].val, as3_id2rcv[%4].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Array res;
	AS3_GET_ID(res) = id;
	return res;
}, 16)
AS3_IMETH_IMPL(unsigned, , Array, unshift, ( int restCount, var *rest), {
	unsigned eid;
	unsigned res;
	var va = AS3_NS::internal::new_Array(restCount, rest);
	inline_as3 ("import Array; var thiz:Array = as3_id2rcv[%2].val; try { %1 = thiz.unshift.apply(thiz, [].concat(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(AS3_GET_ID(va)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 12)
AS3_IMETH_IMPL(AS3_NS::var, , Array, splice, ( int restCount, var *rest), {
	unsigned eid;
	unsigned id;
	var va = AS3_NS::internal::new_Array(restCount, rest);
	inline_as3 ("import Array; var thiz:Array = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.splice.apply(thiz, [].concat(as3_id2rcv[%3].val))); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(va)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::var res;
	AS3_GET_ID(res) = id;
	return res;
}, 16)
AS3_IMETH_IMPL(AS3_NS::var, , Array, sort, ( int restCount, var *rest), {
	unsigned eid;
	unsigned id;
	var va = AS3_NS::internal::new_Array(restCount, rest);
	inline_as3 ("import Array; var thiz:Array = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.sort.apply(thiz, [].concat(as3_id2rcv[%3].val))); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(va)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::var res;
	AS3_GET_ID(res) = id;
	return res;
}, 16)
AS3_IMETH_IMPL(AS3_NS::var, , Array, sortOn, ( AS3_NS::var arg0, AS3_NS::var arg1, int restCount, var *rest), {
	unsigned eid;
	unsigned id;
	var va = AS3_NS::internal::new_Array(restCount, rest);
	inline_as3 ("import Array; var thiz:Array = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.sortOn.apply(thiz, [as3_id2rcv[%3].val, as3_id2rcv[%4].val].concat(as3_id2rcv[%5].val))); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)), "r"(AS3_GET_ID(va)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::var res;
	AS3_GET_ID(res) = id;
	return res;
}, 24)
AS3_IMETH_IMPL(int, , Array, indexOf, ( AS3_NS::var arg0, AS3_NS::var arg1), {
	unsigned eid;
	int res;
	inline_as3 ("import Array; var thiz:Array = as3_id2rcv[%2].val; try { %1 = thiz.indexOf(as3_id2rcv[%3].val, as3_id2rcv[%4].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 12)
AS3_IMETH_IMPL(int, , Array, lastIndexOf, ( AS3_NS::var arg0, AS3_NS::var arg1), {
	unsigned eid;
	int res;
	inline_as3 ("import Array; var thiz:Array = as3_id2rcv[%2].val; try { %1 = thiz.lastIndexOf(as3_id2rcv[%3].val, as3_id2rcv[%4].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 12)
AS3_IMETH_IMPL(bool, , Array, every, ( AS3_NS::Function arg0, AS3_NS::var arg1), {
	unsigned eid;
	bool res;
	inline_as3 ("import Array; var thiz:Array = as3_id2rcv[%2].val; try { %1 = thiz.every(as3_id2rcv[%3].val, as3_id2rcv[%4].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 12)
AS3_IMETH_IMPL(AS3_NS::Array, , Array, filter, ( AS3_NS::Function arg0, AS3_NS::var arg1), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Array; var thiz:Array = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.filter(as3_id2rcv[%3].val, as3_id2rcv[%4].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Array res;
	AS3_GET_ID(res) = id;
	return res;
}, 16)
AS3_IMETH_IMPL(void, , Array, forEach, ( AS3_NS::Function arg0, AS3_NS::var arg1), {
	unsigned eid;
	inline_as3 ("import Array; var thiz:Array = as3_id2rcv[%1].val; try { thiz.forEach(as3_id2rcv[%2].val, as3_id2rcv[%3].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 12)
AS3_IMETH_IMPL(AS3_NS::Array, , Array, map, ( AS3_NS::Function arg0, AS3_NS::var arg1), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Array; var thiz:Array = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.map(as3_id2rcv[%3].val, as3_id2rcv[%4].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Array res;
	AS3_GET_ID(res) = id;
	return res;
}, 16)
AS3_IMETH_IMPL(bool, , Array, some, ( AS3_NS::Function arg0, AS3_NS::var arg1), {
	unsigned eid;
	bool res;
	inline_as3 ("import Array; var thiz:Array = as3_id2rcv[%2].val; try { %1 = thiz.some(as3_id2rcv[%3].val, as3_id2rcv[%4].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 12)
AS3_CONSTR_IMPL(, Array, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Array; try { %1 = as3_valAcquireId(new Array()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Array res;
	AS3_GET_ID(res) = id;
	return res;
}, 4)
AS3_CONSTR_IMPL(, Array, ( var rest0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Array; try { %1 = as3_valAcquireId(new Array(as3_id2rcv[%2].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(rest0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Array res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_CONSTR_IMPL(, Array, ( var rest0, var rest1), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Array; try { %1 = as3_valAcquireId(new Array(as3_id2rcv[%2].val, as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(rest0)), "r"(AS3_GET_ID(rest1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Array res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_CONSTR_IMPL(, Array, ( var rest0, var rest1, var rest2), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Array; try { %1 = as3_valAcquireId(new Array(as3_id2rcv[%2].val, as3_id2rcv[%3].val, as3_id2rcv[%4].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(rest0)), "r"(AS3_GET_ID(rest1)), "r"(AS3_GET_ID(rest2)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Array res;
	AS3_GET_ID(res) = id;
	return res;
}, 16)
AS3_CONSTR_IMPL(, Array, ( var rest0, var rest1, var rest2, var rest3), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Array; try { %1 = as3_valAcquireId(new Array(as3_id2rcv[%2].val, as3_id2rcv[%3].val, as3_id2rcv[%4].val, as3_id2rcv[%5].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(rest0)), "r"(AS3_GET_ID(rest1)), "r"(AS3_GET_ID(rest2)), "r"(AS3_GET_ID(rest3)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Array res;
	AS3_GET_ID(res) = id;
	return res;
}, 20)
AS3_CONSTR_IMPL(, Array, ( var rest0, var rest1, var rest2, var rest3, var rest4), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Array; try { %1 = as3_valAcquireId(new Array(as3_id2rcv[%2].val, as3_id2rcv[%3].val, as3_id2rcv[%4].val, as3_id2rcv[%5].val, as3_id2rcv[%6].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(rest0)), "r"(AS3_GET_ID(rest1)), "r"(AS3_GET_ID(rest2)), "r"(AS3_GET_ID(rest3)), "r"(AS3_GET_ID(rest4)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Array res;
	AS3_GET_ID(res) = id;
	return res;
}, 24)
AS3_CONSTR_IMPL(, Array, ( var rest0, var rest1, var rest2, var rest3, var rest4, var rest5), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Array; try { %1 = as3_valAcquireId(new Array(as3_id2rcv[%2].val, as3_id2rcv[%3].val, as3_id2rcv[%4].val, as3_id2rcv[%5].val, as3_id2rcv[%6].val, as3_id2rcv[%7].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(rest0)), "r"(AS3_GET_ID(rest1)), "r"(AS3_GET_ID(rest2)), "r"(AS3_GET_ID(rest3)), "r"(AS3_GET_ID(rest4)), "r"(AS3_GET_ID(rest5)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Array res;
	AS3_GET_ID(res) = id;
	return res;
}, 28)
AS3_CONSTR_IMPL(, Array, ( var rest0, var rest1, var rest2, var rest3, var rest4, var rest5, var rest6), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Array; try { %1 = as3_valAcquireId(new Array(as3_id2rcv[%2].val, as3_id2rcv[%3].val, as3_id2rcv[%4].val, as3_id2rcv[%5].val, as3_id2rcv[%6].val, as3_id2rcv[%7].val, as3_id2rcv[%8].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(rest0)), "r"(AS3_GET_ID(rest1)), "r"(AS3_GET_ID(rest2)), "r"(AS3_GET_ID(rest3)), "r"(AS3_GET_ID(rest4)), "r"(AS3_GET_ID(rest5)), "r"(AS3_GET_ID(rest6)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Array res;
	AS3_GET_ID(res) = id;
	return res;
}, 32)
AS3_CONSTR_IMPL(, Array, ( var rest0, var rest1, var rest2, var rest3, var rest4, var rest5, var rest6, var rest7), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Array; try { %1 = as3_valAcquireId(new Array(as3_id2rcv[%2].val, as3_id2rcv[%3].val, as3_id2rcv[%4].val, as3_id2rcv[%5].val, as3_id2rcv[%6].val, as3_id2rcv[%7].val, as3_id2rcv[%8].val, as3_id2rcv[%9].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(rest0)), "r"(AS3_GET_ID(rest1)), "r"(AS3_GET_ID(rest2)), "r"(AS3_GET_ID(rest3)), "r"(AS3_GET_ID(rest4)), "r"(AS3_GET_ID(rest5)), "r"(AS3_GET_ID(rest6)), "r"(AS3_GET_ID(rest7)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Array res;
	AS3_GET_ID(res) = id;
	return res;
}, 36)
AS3_CONSTR_IMPL(, Array, ( var rest0, var rest1, var rest2, var rest3, var rest4, var rest5, var rest6, var rest7, var rest8), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Array; try { %1 = as3_valAcquireId(new Array(as3_id2rcv[%2].val, as3_id2rcv[%3].val, as3_id2rcv[%4].val, as3_id2rcv[%5].val, as3_id2rcv[%6].val, as3_id2rcv[%7].val, as3_id2rcv[%8].val, as3_id2rcv[%9].val, as3_id2rcv[%10].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(rest0)), "r"(AS3_GET_ID(rest1)), "r"(AS3_GET_ID(rest2)), "r"(AS3_GET_ID(rest3)), "r"(AS3_GET_ID(rest4)), "r"(AS3_GET_ID(rest5)), "r"(AS3_GET_ID(rest6)), "r"(AS3_GET_ID(rest7)), "r"(AS3_GET_ID(rest8)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Array res;
	AS3_GET_ID(res) = id;
	return res;
}, 40)
AS3_CONSTR_IMPL(, Array, ( var rest0, var rest1, var rest2, var rest3, var rest4, var rest5, var rest6, var rest7, var rest8, var rest9), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Array; try { %1 = as3_valAcquireId(new Array(as3_id2rcv[%2].val, as3_id2rcv[%3].val, as3_id2rcv[%4].val, as3_id2rcv[%5].val, as3_id2rcv[%6].val, as3_id2rcv[%7].val, as3_id2rcv[%8].val, as3_id2rcv[%9].val, as3_id2rcv[%10].val, as3_id2rcv[%11].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(rest0)), "r"(AS3_GET_ID(rest1)), "r"(AS3_GET_ID(rest2)), "r"(AS3_GET_ID(rest3)), "r"(AS3_GET_ID(rest4)), "r"(AS3_GET_ID(rest5)), "r"(AS3_GET_ID(rest6)), "r"(AS3_GET_ID(rest7)), "r"(AS3_GET_ID(rest8)), "r"(AS3_GET_ID(rest9)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Array res;
	AS3_GET_ID(res) = id;
	return res;
}, 44)
Array Array::_new(int n, var *elems) { return AS3_NS::internal::new_Array(n, elems); }
AS3_BASE_IMPL(__AS3__::vec::, Vector, "__AS3__.vec.", "Vector");
AS3_CONSTR_IMPL(__AS3__::vec::, Vector, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import __AS3__.vec.Vector; try { %1 = as3_valAcquireId(new Vector()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::__AS3__::vec::Vector res;
	AS3_GET_ID(res) = id;
	return res;
}, 4)
AS3_BASE_IMPL(, Math, "", "Math");
AS3_PROP_GET_SIMPL(double, E, Math, "Math.E", "Math");
AS3_PROP_GET_SIMPL(double, LN10, Math, "Math.LN10", "Math");
AS3_PROP_GET_SIMPL(double, LN2, Math, "Math.LN2", "Math");
AS3_PROP_GET_SIMPL(double, LOG10E, Math, "Math.LOG10E", "Math");
AS3_PROP_GET_SIMPL(double, LOG2E, Math, "Math.LOG2E", "Math");
AS3_PROP_GET_SIMPL(double, PI, Math, "Math.PI", "Math");
AS3_PROP_GET_SIMPL(double, SQRT1_2, Math, "Math.SQRT1_2", "Math");
AS3_PROP_GET_SIMPL(double, SQRT2, Math, "Math.SQRT2", "Math");
AS3_METH_IMPL(double, Math::abs, ( double arg0), {
	unsigned eid;
	double res;
	inline_as3 ("import Math; try { %1 = Math.abs(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_METH_IMPL(double, Math::acos, ( double arg0), {
	unsigned eid;
	double res;
	inline_as3 ("import Math; try { %1 = Math.acos(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_METH_IMPL(double, Math::asin, ( double arg0), {
	unsigned eid;
	double res;
	inline_as3 ("import Math; try { %1 = Math.asin(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_METH_IMPL(double, Math::atan, ( double arg0), {
	unsigned eid;
	double res;
	inline_as3 ("import Math; try { %1 = Math.atan(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_METH_IMPL(double, Math::ceil, ( double arg0), {
	unsigned eid;
	double res;
	inline_as3 ("import Math; try { %1 = Math.ceil(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_METH_IMPL(double, Math::cos, ( double arg0), {
	unsigned eid;
	double res;
	inline_as3 ("import Math; try { %1 = Math.cos(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_METH_IMPL(double, Math::exp, ( double arg0), {
	unsigned eid;
	double res;
	inline_as3 ("import Math; try { %1 = Math.exp(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_METH_IMPL(double, Math::floor, ( double arg0), {
	unsigned eid;
	double res;
	inline_as3 ("import Math; try { %1 = Math.floor(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_METH_IMPL(double, Math::log, ( double arg0), {
	unsigned eid;
	double res;
	inline_as3 ("import Math; try { %1 = Math.log(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_METH_IMPL(double, Math::round, ( double arg0), {
	unsigned eid;
	double res;
	inline_as3 ("import Math; try { %1 = Math.round(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_METH_IMPL(double, Math::sin, ( double arg0), {
	unsigned eid;
	double res;
	inline_as3 ("import Math; try { %1 = Math.sin(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_METH_IMPL(double, Math::sqrt, ( double arg0), {
	unsigned eid;
	double res;
	inline_as3 ("import Math; try { %1 = Math.sqrt(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_METH_IMPL(double, Math::tan, ( double arg0), {
	unsigned eid;
	double res;
	inline_as3 ("import Math; try { %1 = Math.tan(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_METH_IMPL(double, Math::atan2, ( double arg0, double arg1), {
	unsigned eid;
	double res;
	inline_as3 ("import Math; try { %1 = Math.atan2(%2, %3); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(arg0), "r"(arg1));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 16)
AS3_METH_IMPL(double, Math::pow, ( double arg0, double arg1), {
	unsigned eid;
	double res;
	inline_as3 ("import Math; try { %1 = Math.pow(%2, %3); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(arg0), "r"(arg1));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 16)
AS3_METH_IMPL(double, Math::max, ( double arg0, double arg1, int restCount, var *rest), {
	unsigned eid;
	double res;
	var va = AS3_NS::internal::new_Array(restCount, rest);
	inline_as3 ("import Math; try { %1 = Math.max.apply(Math, [%2, %3].concat(as3_id2rcv[%4].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(arg0), "r"(arg1), "r"(AS3_GET_ID(va)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 24)
AS3_METH_IMPL(double, Math::min, ( double arg0, double arg1, int restCount, var *rest), {
	unsigned eid;
	double res;
	var va = AS3_NS::internal::new_Array(restCount, rest);
	inline_as3 ("import Math; try { %1 = Math.min.apply(Math, [%2, %3].concat(as3_id2rcv[%4].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(arg0), "r"(arg1), "r"(AS3_GET_ID(va)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 24)
AS3_METH_IMPL(double, Math::random, (), {
	unsigned eid;
	double res;
	inline_as3 ("import Math; try { %1 = Math.random(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 0)
AS3_CONSTR_IMPL(, Math, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Math; try { %1 = as3_valAcquireId(new Math()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Math res;
	AS3_GET_ID(res) = id;
	return res;
}, 4)
AS3_BASE_IMPL(, Error, "", "Error");
AS3_IPROP_GET_SIMPL(int, errorID, , Error, "errorID");
AS3_IPROP_SET_GET_IMPL(AS3_NS::var, message, , Error, "message");
AS3_IPROP_SET_GET_IMPL(AS3_NS::var, name, , Error, "name");
AS3_PROP_GET_SIMPL(int, length, Error, "Error.length", "Error");
AS3_IMETH_IMPL(AS3_NS::String, , Error, getStackTrace, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Error; var thiz:Error = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.getStackTrace()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_METH_IMPL(AS3_NS::String, Error::getErrorMessage, ( int arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Error; try { %1 = as3_valAcquireId(Error.getErrorMessage(%2)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_METH_IMPL(AS3_NS::var, Error::throwError, ( AS3_NS::Class arg0, unsigned arg1, int restCount, var *rest), {
	unsigned eid;
	unsigned id;
	var va = AS3_NS::internal::new_Array(restCount, rest);
	inline_as3 ("import Error; try { %1 = as3_valAcquireId(Error.throwError.apply(Error, [as3_id2rcv[%2].val, %3].concat(as3_id2rcv[%4].val))); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(arg0)), "r"(arg1), "r"(AS3_GET_ID(va)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::var res;
	AS3_GET_ID(res) = id;
	return res;
}, 20)
AS3_CONSTR_IMPL(, Error, ( AS3_NS::var arg0, AS3_NS::var arg1), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Error; try { %1 = as3_valAcquireId(new Error(as3_id2rcv[%2].val, as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Error res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_BASE_IMPL(, DefinitionError, "", "DefinitionError");
AS3_PROP_GET_SIMPL(int, length, DefinitionError, "DefinitionError.length", "DefinitionError");
AS3_CONSTR_IMPL(, DefinitionError, ( AS3_NS::var arg0, AS3_NS::var arg1), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import DefinitionError; try { %1 = as3_valAcquireId(new DefinitionError(as3_id2rcv[%2].val, as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::DefinitionError res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_BASE_IMPL(, EvalError, "", "EvalError");
AS3_PROP_GET_SIMPL(int, length, EvalError, "EvalError.length", "EvalError");
AS3_CONSTR_IMPL(, EvalError, ( AS3_NS::var arg0, AS3_NS::var arg1), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import EvalError; try { %1 = as3_valAcquireId(new EvalError(as3_id2rcv[%2].val, as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::EvalError res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_BASE_IMPL(, RangeError, "", "RangeError");
AS3_PROP_GET_SIMPL(int, length, RangeError, "RangeError.length", "RangeError");
AS3_CONSTR_IMPL(, RangeError, ( AS3_NS::var arg0, AS3_NS::var arg1), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import RangeError; try { %1 = as3_valAcquireId(new RangeError(as3_id2rcv[%2].val, as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::RangeError res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_BASE_IMPL(, ReferenceError, "", "ReferenceError");
AS3_PROP_GET_SIMPL(int, length, ReferenceError, "ReferenceError.length", "ReferenceError");
AS3_CONSTR_IMPL(, ReferenceError, ( AS3_NS::var arg0, AS3_NS::var arg1), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import ReferenceError; try { %1 = as3_valAcquireId(new ReferenceError(as3_id2rcv[%2].val, as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::ReferenceError res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_BASE_IMPL(, SecurityError, "", "SecurityError");
AS3_PROP_GET_SIMPL(int, length, SecurityError, "SecurityError.length", "SecurityError");
AS3_CONSTR_IMPL(, SecurityError, ( AS3_NS::var arg0, AS3_NS::var arg1), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import SecurityError; try { %1 = as3_valAcquireId(new SecurityError(as3_id2rcv[%2].val, as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::SecurityError res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_BASE_IMPL(, SyntaxError, "", "SyntaxError");
AS3_PROP_GET_SIMPL(int, length, SyntaxError, "SyntaxError.length", "SyntaxError");
AS3_CONSTR_IMPL(, SyntaxError, ( AS3_NS::var arg0, AS3_NS::var arg1), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import SyntaxError; try { %1 = as3_valAcquireId(new SyntaxError(as3_id2rcv[%2].val, as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::SyntaxError res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_BASE_IMPL(, TypeError, "", "TypeError");
AS3_PROP_GET_SIMPL(int, length, TypeError, "TypeError.length", "TypeError");
AS3_CONSTR_IMPL(, TypeError, ( AS3_NS::var arg0, AS3_NS::var arg1), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import TypeError; try { %1 = as3_valAcquireId(new TypeError(as3_id2rcv[%2].val, as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::TypeError res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_BASE_IMPL(, URIError, "", "URIError");
AS3_PROP_GET_SIMPL(int, length, URIError, "URIError.length", "URIError");
AS3_CONSTR_IMPL(, URIError, ( AS3_NS::var arg0, AS3_NS::var arg1), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import URIError; try { %1 = as3_valAcquireId(new URIError(as3_id2rcv[%2].val, as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::URIError res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_BASE_IMPL(, VerifyError, "", "VerifyError");
AS3_PROP_GET_SIMPL(int, length, VerifyError, "VerifyError.length", "VerifyError");
AS3_CONSTR_IMPL(, VerifyError, ( AS3_NS::var arg0, AS3_NS::var arg1), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import VerifyError; try { %1 = as3_valAcquireId(new VerifyError(as3_id2rcv[%2].val, as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::VerifyError res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_BASE_IMPL(, UninitializedError, "", "UninitializedError");
AS3_PROP_GET_SIMPL(int, length, UninitializedError, "UninitializedError.length", "UninitializedError");
AS3_CONSTR_IMPL(, UninitializedError, ( AS3_NS::var arg0, AS3_NS::var arg1), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import UninitializedError; try { %1 = as3_valAcquireId(new UninitializedError(as3_id2rcv[%2].val, as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::UninitializedError res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_BASE_IMPL(, ArgumentError, "", "ArgumentError");
AS3_PROP_GET_SIMPL(int, length, ArgumentError, "ArgumentError.length", "ArgumentError");
AS3_CONSTR_IMPL(, ArgumentError, ( AS3_NS::var arg0, AS3_NS::var arg1), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import ArgumentError; try { %1 = as3_valAcquireId(new ArgumentError(as3_id2rcv[%2].val, as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::ArgumentError res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_BASE_IMPL(flash::errors::, IOError, "flash.errors.", "IOError");
AS3_CONSTR_IMPL(flash::errors::, IOError, ( AS3_NS::String arg0, int arg1), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import flash.errors.IOError; try { %1 = as3_valAcquireId(new IOError(as3_id2rcv[%2].val, %3)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(arg0)), "r"(arg1));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::flash::errors::IOError res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_BASE_IMPL(flash::errors::, MemoryError, "flash.errors.", "MemoryError");
AS3_CONSTR_IMPL(flash::errors::, MemoryError, ( AS3_NS::String arg0, int arg1), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import flash.errors.MemoryError; try { %1 = as3_valAcquireId(new MemoryError(as3_id2rcv[%2].val, %3)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(arg0)), "r"(arg1));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::flash::errors::MemoryError res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_BASE_IMPL(flash::errors::, IllegalOperationError, "flash.errors.", "IllegalOperationError");
AS3_CONSTR_IMPL(flash::errors::, IllegalOperationError, ( AS3_NS::String arg0, int arg1), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import flash.errors.IllegalOperationError; try { %1 = as3_valAcquireId(new IllegalOperationError(as3_id2rcv[%2].val, %3)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(arg0)), "r"(arg1));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::flash::errors::IllegalOperationError res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_BASE_IMPL(flash::errors::, EOFError, "flash.errors.", "EOFError");
AS3_CONSTR_IMPL(flash::errors::, EOFError, ( AS3_NS::String arg0, int arg1), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import flash.errors.EOFError; try { %1 = as3_valAcquireId(new EOFError(as3_id2rcv[%2].val, %3)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(arg0)), "r"(arg1));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::flash::errors::EOFError res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_BASE_IMPL(, Date, "", "Date");
AS3_IPROP_SET_GET_SIMPL(double, date, , Date, "date");
AS3_IPROP_SET_GET_SIMPL(double, dateUTC, , Date, "dateUTC");
AS3_IPROP_GET_SIMPL(double, day, , Date, "day");
AS3_IPROP_GET_SIMPL(double, dayUTC, , Date, "dayUTC");
AS3_IPROP_SET_GET_SIMPL(double, fullYear, , Date, "fullYear");
AS3_IPROP_SET_GET_SIMPL(double, fullYearUTC, , Date, "fullYearUTC");
AS3_IPROP_SET_GET_SIMPL(double, hours, , Date, "hours");
AS3_IPROP_SET_GET_SIMPL(double, hoursUTC, , Date, "hoursUTC");
AS3_IPROP_SET_GET_SIMPL(double, milliseconds, , Date, "milliseconds");
AS3_IPROP_SET_GET_SIMPL(double, millisecondsUTC, , Date, "millisecondsUTC");
AS3_IPROP_SET_GET_SIMPL(double, minutes, , Date, "minutes");
AS3_IPROP_SET_GET_SIMPL(double, minutesUTC, , Date, "minutesUTC");
AS3_IPROP_SET_GET_SIMPL(double, month, , Date, "month");
AS3_IPROP_SET_GET_SIMPL(double, monthUTC, , Date, "monthUTC");
AS3_IPROP_SET_GET_SIMPL(double, seconds, , Date, "seconds");
AS3_IPROP_SET_GET_SIMPL(double, secondsUTC, , Date, "secondsUTC");
AS3_IPROP_SET_GET_SIMPL(double, time, , Date, "time");
AS3_IPROP_GET_SIMPL(double, timezoneOffset, , Date, "timezoneOffset");
AS3_PROP_GET_SIMPL(int, length, Date, "Date.length", "Date");
AS3_IMETH_IMPL(double, , Date, valueOf, (), {
	unsigned eid;
	double res;
	inline_as3 ("import Date; var thiz:Date = as3_id2rcv[%2].val; try { %1 = thiz.valueOf(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_IMETH_IMPL(double, , Date, setTime, ( AS3_NS::var arg0), {
	unsigned eid;
	double res;
	inline_as3 ("import Date; var thiz:Date = as3_id2rcv[%2].val; try { %1 = thiz.setTime(as3_id2rcv[%3].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::String, , Date, toString, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Date; var thiz:Date = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.toString()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::String, , Date, toDateString, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Date; var thiz:Date = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.toDateString()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::String, , Date, toTimeString, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Date; var thiz:Date = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.toTimeString()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::String, , Date, toLocaleString, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Date; var thiz:Date = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.toLocaleString()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::String, , Date, toLocaleDateString, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Date; var thiz:Date = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.toLocaleDateString()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::String, , Date, toLocaleTimeString, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Date; var thiz:Date = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.toLocaleTimeString()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::String, , Date, toUTCString, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Date; var thiz:Date = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.toUTCString()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(double, , Date, getUTCFullYear, (), {
	unsigned eid;
	double res;
	inline_as3 ("import Date; var thiz:Date = as3_id2rcv[%2].val; try { %1 = thiz.getUTCFullYear(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_IMETH_IMPL(double, , Date, getUTCMonth, (), {
	unsigned eid;
	double res;
	inline_as3 ("import Date; var thiz:Date = as3_id2rcv[%2].val; try { %1 = thiz.getUTCMonth(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_IMETH_IMPL(double, , Date, getUTCDate, (), {
	unsigned eid;
	double res;
	inline_as3 ("import Date; var thiz:Date = as3_id2rcv[%2].val; try { %1 = thiz.getUTCDate(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_IMETH_IMPL(double, , Date, getUTCDay, (), {
	unsigned eid;
	double res;
	inline_as3 ("import Date; var thiz:Date = as3_id2rcv[%2].val; try { %1 = thiz.getUTCDay(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_IMETH_IMPL(double, , Date, getUTCHours, (), {
	unsigned eid;
	double res;
	inline_as3 ("import Date; var thiz:Date = as3_id2rcv[%2].val; try { %1 = thiz.getUTCHours(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_IMETH_IMPL(double, , Date, getUTCMinutes, (), {
	unsigned eid;
	double res;
	inline_as3 ("import Date; var thiz:Date = as3_id2rcv[%2].val; try { %1 = thiz.getUTCMinutes(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_IMETH_IMPL(double, , Date, getUTCSeconds, (), {
	unsigned eid;
	double res;
	inline_as3 ("import Date; var thiz:Date = as3_id2rcv[%2].val; try { %1 = thiz.getUTCSeconds(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_IMETH_IMPL(double, , Date, getUTCMilliseconds, (), {
	unsigned eid;
	double res;
	inline_as3 ("import Date; var thiz:Date = as3_id2rcv[%2].val; try { %1 = thiz.getUTCMilliseconds(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_IMETH_IMPL(double, , Date, getFullYear, (), {
	unsigned eid;
	double res;
	inline_as3 ("import Date; var thiz:Date = as3_id2rcv[%2].val; try { %1 = thiz.getFullYear(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_IMETH_IMPL(double, , Date, getMonth, (), {
	unsigned eid;
	double res;
	inline_as3 ("import Date; var thiz:Date = as3_id2rcv[%2].val; try { %1 = thiz.getMonth(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_IMETH_IMPL(double, , Date, getDate, (), {
	unsigned eid;
	double res;
	inline_as3 ("import Date; var thiz:Date = as3_id2rcv[%2].val; try { %1 = thiz.getDate(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_IMETH_IMPL(double, , Date, getDay, (), {
	unsigned eid;
	double res;
	inline_as3 ("import Date; var thiz:Date = as3_id2rcv[%2].val; try { %1 = thiz.getDay(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_IMETH_IMPL(double, , Date, getHours, (), {
	unsigned eid;
	double res;
	inline_as3 ("import Date; var thiz:Date = as3_id2rcv[%2].val; try { %1 = thiz.getHours(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_IMETH_IMPL(double, , Date, getMinutes, (), {
	unsigned eid;
	double res;
	inline_as3 ("import Date; var thiz:Date = as3_id2rcv[%2].val; try { %1 = thiz.getMinutes(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_IMETH_IMPL(double, , Date, getSeconds, (), {
	unsigned eid;
	double res;
	inline_as3 ("import Date; var thiz:Date = as3_id2rcv[%2].val; try { %1 = thiz.getSeconds(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_IMETH_IMPL(double, , Date, getMilliseconds, (), {
	unsigned eid;
	double res;
	inline_as3 ("import Date; var thiz:Date = as3_id2rcv[%2].val; try { %1 = thiz.getMilliseconds(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_IMETH_IMPL(double, , Date, getTimezoneOffset, (), {
	unsigned eid;
	double res;
	inline_as3 ("import Date; var thiz:Date = as3_id2rcv[%2].val; try { %1 = thiz.getTimezoneOffset(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_IMETH_IMPL(double, , Date, getTime, (), {
	unsigned eid;
	double res;
	inline_as3 ("import Date; var thiz:Date = as3_id2rcv[%2].val; try { %1 = thiz.getTime(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_IMETH_IMPL(double, , Date, setFullYear, ( AS3_NS::var arg0, AS3_NS::var arg1, AS3_NS::var arg2), {
	unsigned eid;
	double res;
	inline_as3 ("import Date; var thiz:Date = as3_id2rcv[%2].val; try { %1 = thiz.setFullYear(as3_id2rcv[%3].val, as3_id2rcv[%4].val, as3_id2rcv[%5].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)), "r"(AS3_GET_ID(arg2)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 16)
AS3_IMETH_IMPL(double, , Date, setMonth, ( AS3_NS::var arg0, AS3_NS::var arg1), {
	unsigned eid;
	double res;
	inline_as3 ("import Date; var thiz:Date = as3_id2rcv[%2].val; try { %1 = thiz.setMonth(as3_id2rcv[%3].val, as3_id2rcv[%4].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 12)
AS3_IMETH_IMPL(double, , Date, setDate, ( AS3_NS::var arg0), {
	unsigned eid;
	double res;
	inline_as3 ("import Date; var thiz:Date = as3_id2rcv[%2].val; try { %1 = thiz.setDate(as3_id2rcv[%3].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_IMETH_IMPL(double, , Date, setHours, ( AS3_NS::var arg0, AS3_NS::var arg1, AS3_NS::var arg2, AS3_NS::var arg3), {
	unsigned eid;
	double res;
	inline_as3 ("import Date; var thiz:Date = as3_id2rcv[%2].val; try { %1 = thiz.setHours(as3_id2rcv[%3].val, as3_id2rcv[%4].val, as3_id2rcv[%5].val, as3_id2rcv[%6].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)), "r"(AS3_GET_ID(arg2)), "r"(AS3_GET_ID(arg3)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 20)
AS3_IMETH_IMPL(double, , Date, setMinutes, ( AS3_NS::var arg0, AS3_NS::var arg1, AS3_NS::var arg2), {
	unsigned eid;
	double res;
	inline_as3 ("import Date; var thiz:Date = as3_id2rcv[%2].val; try { %1 = thiz.setMinutes(as3_id2rcv[%3].val, as3_id2rcv[%4].val, as3_id2rcv[%5].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)), "r"(AS3_GET_ID(arg2)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 16)
AS3_IMETH_IMPL(double, , Date, setSeconds, ( AS3_NS::var arg0, AS3_NS::var arg1), {
	unsigned eid;
	double res;
	inline_as3 ("import Date; var thiz:Date = as3_id2rcv[%2].val; try { %1 = thiz.setSeconds(as3_id2rcv[%3].val, as3_id2rcv[%4].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 12)
AS3_IMETH_IMPL(double, , Date, setMilliseconds, ( AS3_NS::var arg0), {
	unsigned eid;
	double res;
	inline_as3 ("import Date; var thiz:Date = as3_id2rcv[%2].val; try { %1 = thiz.setMilliseconds(as3_id2rcv[%3].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_IMETH_IMPL(double, , Date, setUTCFullYear, ( AS3_NS::var arg0, AS3_NS::var arg1, AS3_NS::var arg2), {
	unsigned eid;
	double res;
	inline_as3 ("import Date; var thiz:Date = as3_id2rcv[%2].val; try { %1 = thiz.setUTCFullYear(as3_id2rcv[%3].val, as3_id2rcv[%4].val, as3_id2rcv[%5].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)), "r"(AS3_GET_ID(arg2)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 16)
AS3_IMETH_IMPL(double, , Date, setUTCMonth, ( AS3_NS::var arg0, AS3_NS::var arg1), {
	unsigned eid;
	double res;
	inline_as3 ("import Date; var thiz:Date = as3_id2rcv[%2].val; try { %1 = thiz.setUTCMonth(as3_id2rcv[%3].val, as3_id2rcv[%4].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 12)
AS3_IMETH_IMPL(double, , Date, setUTCDate, ( AS3_NS::var arg0), {
	unsigned eid;
	double res;
	inline_as3 ("import Date; var thiz:Date = as3_id2rcv[%2].val; try { %1 = thiz.setUTCDate(as3_id2rcv[%3].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_IMETH_IMPL(double, , Date, setUTCHours, ( AS3_NS::var arg0, AS3_NS::var arg1, AS3_NS::var arg2, AS3_NS::var arg3), {
	unsigned eid;
	double res;
	inline_as3 ("import Date; var thiz:Date = as3_id2rcv[%2].val; try { %1 = thiz.setUTCHours(as3_id2rcv[%3].val, as3_id2rcv[%4].val, as3_id2rcv[%5].val, as3_id2rcv[%6].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)), "r"(AS3_GET_ID(arg2)), "r"(AS3_GET_ID(arg3)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 20)
AS3_IMETH_IMPL(double, , Date, setUTCMinutes, ( AS3_NS::var arg0, AS3_NS::var arg1, AS3_NS::var arg2), {
	unsigned eid;
	double res;
	inline_as3 ("import Date; var thiz:Date = as3_id2rcv[%2].val; try { %1 = thiz.setUTCMinutes(as3_id2rcv[%3].val, as3_id2rcv[%4].val, as3_id2rcv[%5].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)), "r"(AS3_GET_ID(arg2)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 16)
AS3_IMETH_IMPL(double, , Date, setUTCSeconds, ( AS3_NS::var arg0, AS3_NS::var arg1), {
	unsigned eid;
	double res;
	inline_as3 ("import Date; var thiz:Date = as3_id2rcv[%2].val; try { %1 = thiz.setUTCSeconds(as3_id2rcv[%3].val, as3_id2rcv[%4].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 12)
AS3_IMETH_IMPL(double, , Date, setUTCMilliseconds, ( AS3_NS::var arg0), {
	unsigned eid;
	double res;
	inline_as3 ("import Date; var thiz:Date = as3_id2rcv[%2].val; try { %1 = thiz.setUTCMilliseconds(as3_id2rcv[%3].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_METH_IMPL(double, Date::parse, ( AS3_NS::var arg0), {
	unsigned eid;
	double res;
	inline_as3 ("import Date; try { %1 = Date.parse(as3_id2rcv[%2].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_METH_IMPL(double, Date::UTC, ( AS3_NS::var arg0, AS3_NS::var arg1, AS3_NS::var arg2, AS3_NS::var arg3, AS3_NS::var arg4, AS3_NS::var arg5, AS3_NS::var arg6, int restCount, var *rest), {
	unsigned eid;
	double res;
	var va = AS3_NS::internal::new_Array(restCount, rest);
	inline_as3 ("import Date; try { %1 = Date.UTC.apply(Date, [as3_id2rcv[%2].val, as3_id2rcv[%3].val, as3_id2rcv[%4].val, as3_id2rcv[%5].val, as3_id2rcv[%6].val, as3_id2rcv[%7].val, as3_id2rcv[%8].val].concat(as3_id2rcv[%9].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)), "r"(AS3_GET_ID(arg2)), "r"(AS3_GET_ID(arg3)), "r"(AS3_GET_ID(arg4)), "r"(AS3_GET_ID(arg5)), "r"(AS3_GET_ID(arg6)), "r"(AS3_GET_ID(va)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 36)
AS3_CONSTR_IMPL(, Date, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Date; try { %1 = as3_valAcquireId(new Date()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Date res;
	AS3_GET_ID(res) = id;
	return res;
}, 4)
AS3_CONSTR_IMPL(, Date, ( var rest0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Date; try { %1 = as3_valAcquireId(new Date(as3_id2rcv[%2].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(rest0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Date res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_CONSTR_IMPL(, Date, ( var rest0, var rest1), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Date; try { %1 = as3_valAcquireId(new Date(as3_id2rcv[%2].val, as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(rest0)), "r"(AS3_GET_ID(rest1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Date res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_CONSTR_IMPL(, Date, ( var rest0, var rest1, var rest2), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Date; try { %1 = as3_valAcquireId(new Date(as3_id2rcv[%2].val, as3_id2rcv[%3].val, as3_id2rcv[%4].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(rest0)), "r"(AS3_GET_ID(rest1)), "r"(AS3_GET_ID(rest2)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Date res;
	AS3_GET_ID(res) = id;
	return res;
}, 16)
AS3_CONSTR_IMPL(, Date, ( var rest0, var rest1, var rest2, var rest3), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Date; try { %1 = as3_valAcquireId(new Date(as3_id2rcv[%2].val, as3_id2rcv[%3].val, as3_id2rcv[%4].val, as3_id2rcv[%5].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(rest0)), "r"(AS3_GET_ID(rest1)), "r"(AS3_GET_ID(rest2)), "r"(AS3_GET_ID(rest3)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Date res;
	AS3_GET_ID(res) = id;
	return res;
}, 20)
AS3_CONSTR_IMPL(, Date, ( var rest0, var rest1, var rest2, var rest3, var rest4), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Date; try { %1 = as3_valAcquireId(new Date(as3_id2rcv[%2].val, as3_id2rcv[%3].val, as3_id2rcv[%4].val, as3_id2rcv[%5].val, as3_id2rcv[%6].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(rest0)), "r"(AS3_GET_ID(rest1)), "r"(AS3_GET_ID(rest2)), "r"(AS3_GET_ID(rest3)), "r"(AS3_GET_ID(rest4)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Date res;
	AS3_GET_ID(res) = id;
	return res;
}, 24)
AS3_CONSTR_IMPL(, Date, ( var rest0, var rest1, var rest2, var rest3, var rest4, var rest5), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Date; try { %1 = as3_valAcquireId(new Date(as3_id2rcv[%2].val, as3_id2rcv[%3].val, as3_id2rcv[%4].val, as3_id2rcv[%5].val, as3_id2rcv[%6].val, as3_id2rcv[%7].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(rest0)), "r"(AS3_GET_ID(rest1)), "r"(AS3_GET_ID(rest2)), "r"(AS3_GET_ID(rest3)), "r"(AS3_GET_ID(rest4)), "r"(AS3_GET_ID(rest5)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Date res;
	AS3_GET_ID(res) = id;
	return res;
}, 28)
AS3_CONSTR_IMPL(, Date, ( var rest0, var rest1, var rest2, var rest3, var rest4, var rest5, var rest6), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Date; try { %1 = as3_valAcquireId(new Date(as3_id2rcv[%2].val, as3_id2rcv[%3].val, as3_id2rcv[%4].val, as3_id2rcv[%5].val, as3_id2rcv[%6].val, as3_id2rcv[%7].val, as3_id2rcv[%8].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(rest0)), "r"(AS3_GET_ID(rest1)), "r"(AS3_GET_ID(rest2)), "r"(AS3_GET_ID(rest3)), "r"(AS3_GET_ID(rest4)), "r"(AS3_GET_ID(rest5)), "r"(AS3_GET_ID(rest6)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Date res;
	AS3_GET_ID(res) = id;
	return res;
}, 32)
AS3_CONSTR_IMPL(, Date, ( var rest0, var rest1, var rest2, var rest3, var rest4, var rest5, var rest6, var rest7), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Date; try { %1 = as3_valAcquireId(new Date(as3_id2rcv[%2].val, as3_id2rcv[%3].val, as3_id2rcv[%4].val, as3_id2rcv[%5].val, as3_id2rcv[%6].val, as3_id2rcv[%7].val, as3_id2rcv[%8].val, as3_id2rcv[%9].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(rest0)), "r"(AS3_GET_ID(rest1)), "r"(AS3_GET_ID(rest2)), "r"(AS3_GET_ID(rest3)), "r"(AS3_GET_ID(rest4)), "r"(AS3_GET_ID(rest5)), "r"(AS3_GET_ID(rest6)), "r"(AS3_GET_ID(rest7)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Date res;
	AS3_GET_ID(res) = id;
	return res;
}, 36)
AS3_CONSTR_IMPL(, Date, ( var rest0, var rest1, var rest2, var rest3, var rest4, var rest5, var rest6, var rest7, var rest8), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Date; try { %1 = as3_valAcquireId(new Date(as3_id2rcv[%2].val, as3_id2rcv[%3].val, as3_id2rcv[%4].val, as3_id2rcv[%5].val, as3_id2rcv[%6].val, as3_id2rcv[%7].val, as3_id2rcv[%8].val, as3_id2rcv[%9].val, as3_id2rcv[%10].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(rest0)), "r"(AS3_GET_ID(rest1)), "r"(AS3_GET_ID(rest2)), "r"(AS3_GET_ID(rest3)), "r"(AS3_GET_ID(rest4)), "r"(AS3_GET_ID(rest5)), "r"(AS3_GET_ID(rest6)), "r"(AS3_GET_ID(rest7)), "r"(AS3_GET_ID(rest8)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Date res;
	AS3_GET_ID(res) = id;
	return res;
}, 40)
AS3_CONSTR_IMPL(, Date, ( var rest0, var rest1, var rest2, var rest3, var rest4, var rest5, var rest6, var rest7, var rest8, var rest9), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import Date; try { %1 = as3_valAcquireId(new Date(as3_id2rcv[%2].val, as3_id2rcv[%3].val, as3_id2rcv[%4].val, as3_id2rcv[%5].val, as3_id2rcv[%6].val, as3_id2rcv[%7].val, as3_id2rcv[%8].val, as3_id2rcv[%9].val, as3_id2rcv[%10].val, as3_id2rcv[%11].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(rest0)), "r"(AS3_GET_ID(rest1)), "r"(AS3_GET_ID(rest2)), "r"(AS3_GET_ID(rest3)), "r"(AS3_GET_ID(rest4)), "r"(AS3_GET_ID(rest5)), "r"(AS3_GET_ID(rest6)), "r"(AS3_GET_ID(rest7)), "r"(AS3_GET_ID(rest8)), "r"(AS3_GET_ID(rest9)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Date res;
	AS3_GET_ID(res) = id;
	return res;
}, 44)
AS3_BASE_IMPL(, RegExp, "", "RegExp");
AS3_IPROP_GET_SIMPL(bool, dotall, , RegExp, "dotall");
AS3_IPROP_GET_SIMPL(bool, extended, , RegExp, "extended");
AS3_IPROP_GET_SIMPL(bool, global, , RegExp, "global");
AS3_IPROP_GET_SIMPL(bool, ignoreCase, , RegExp, "ignoreCase");
AS3_IPROP_SET_GET_SIMPL(int, lastIndex, , RegExp, "lastIndex");
AS3_IPROP_GET_SIMPL(bool, multiline, , RegExp, "multiline");
AS3_IPROP_GET_IMPL(AS3_NS::String, source, , RegExp, "source");
AS3_PROP_GET_SIMPL(int, length, RegExp, "RegExp.length", "RegExp");
AS3_IMETH_IMPL(AS3_NS::var, , RegExp, exec, ( AS3_NS::String arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import RegExp; var thiz:RegExp = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.exec(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::var res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(bool, , RegExp, test, ( AS3_NS::String arg0), {
	unsigned eid;
	bool res;
	inline_as3 ("import RegExp; var thiz:RegExp = as3_id2rcv[%2].val; try { %1 = thiz.test(as3_id2rcv[%3].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_CONSTR_IMPL(, RegExp, ( AS3_NS::var arg0, AS3_NS::var arg1), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import RegExp; try { %1 = as3_valAcquireId(new RegExp(as3_id2rcv[%2].val, as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::RegExp res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_BASE_IMPL(, JSON, "", "JSON");
AS3_METH_IMPL(AS3_NS::Object, JSON::parse, ( AS3_NS::String arg0, AS3_NS::Function arg1), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import JSON; try { %1 = as3_valAcquireId(JSON.parse(as3_id2rcv[%2].val, as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Object res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_METH_IMPL(AS3_NS::String, JSON::stringify, ( AS3_NS::Object arg0, AS3_NS::var arg1, AS3_NS::var arg2), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import JSON; try { %1 = as3_valAcquireId(JSON.stringify(as3_id2rcv[%2].val, as3_id2rcv[%3].val, as3_id2rcv[%4].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)), "r"(AS3_GET_ID(arg2)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 16)
AS3_CONSTR_IMPL(, JSON, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import JSON; try { %1 = as3_valAcquireId(new JSON()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::JSON res;
	AS3_GET_ID(res) = id;
	return res;
}, 4)
AS3_BASE_IMPL(, XML, "", "XML");
AS3_PROP_SET_GET_SIMPL(bool, ignoreComments, XML, "XML.ignoreComments", "XML");
AS3_PROP_SET_GET_SIMPL(bool, ignoreProcessingInstructions, XML, "XML.ignoreProcessingInstructions", "XML");
AS3_PROP_SET_GET_SIMPL(bool, ignoreWhitespace, XML, "XML.ignoreWhitespace", "XML");
AS3_PROP_GET_IMPL(AS3_NS::var, length, XML, "XML.length", "XML");
AS3_PROP_SET_GET_SIMPL(int, prettyIndent, XML, "XML.prettyIndent", "XML");
AS3_PROP_SET_GET_SIMPL(bool, prettyPrinting, XML, "XML.prettyPrinting", "XML");
AS3_IMETH_IMPL(AS3_NS::String, , XML, toString, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XML; var thiz:XML = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.toString()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(bool, , XML, hasOwnProperty, ( AS3_NS::var arg0), {
	unsigned eid;
	bool res;
	inline_as3 ("import XML; var thiz:XML = as3_id2rcv[%2].val; try { %1 = thiz.hasOwnProperty(as3_id2rcv[%3].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_IMETH_IMPL(bool, , XML, propertyIsEnumerable, ( AS3_NS::var arg0), {
	unsigned eid;
	bool res;
	inline_as3 ("import XML; var thiz:XML = as3_id2rcv[%2].val; try { %1 = thiz.propertyIsEnumerable(as3_id2rcv[%3].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::XML, , XML, addNamespace, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XML; var thiz:XML = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.addNamespace(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::XML res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(AS3_NS::XML, , XML, appendChild, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XML; var thiz:XML = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.appendChild(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::XML res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(AS3_NS::XMLList, , XML, attribute, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XML; var thiz:XML = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.attribute(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::XMLList res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(AS3_NS::XMLList, , XML, attributes, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XML; var thiz:XML = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.attributes()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::XMLList res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::XMLList, , XML, child, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XML; var thiz:XML = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.child(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::XMLList res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(int, , XML, childIndex, (), {
	unsigned eid;
	int res;
	inline_as3 ("import XML; var thiz:XML = as3_id2rcv[%2].val; try { %1 = thiz.childIndex(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_IMETH_IMPL(AS3_NS::XMLList, , XML, children, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XML; var thiz:XML = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.children()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::XMLList res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::XMLList, , XML, comments, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XML; var thiz:XML = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.comments()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::XMLList res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(bool, , XML, contains, ( AS3_NS::var arg0), {
	unsigned eid;
	bool res;
	inline_as3 ("import XML; var thiz:XML = as3_id2rcv[%2].val; try { %1 = thiz.contains(as3_id2rcv[%3].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::XML, , XML, copy, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XML; var thiz:XML = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.copy()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::XML res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::XMLList, , XML, descendants, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XML; var thiz:XML = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.descendants(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::XMLList res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(AS3_NS::XMLList, , XML, elements, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XML; var thiz:XML = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.elements(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::XMLList res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(bool, , XML, hasComplexContent, (), {
	unsigned eid;
	bool res;
	inline_as3 ("import XML; var thiz:XML = as3_id2rcv[%2].val; try { %1 = thiz.hasComplexContent(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_IMETH_IMPL(bool, , XML, hasSimpleContent, (), {
	unsigned eid;
	bool res;
	inline_as3 ("import XML; var thiz:XML = as3_id2rcv[%2].val; try { %1 = thiz.hasSimpleContent(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_IMETH_IMPL(AS3_NS::Array, , XML, inScopeNamespaces, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XML; var thiz:XML = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.inScopeNamespaces()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Array res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::var, , XML, insertChildAfter, ( AS3_NS::var arg0, AS3_NS::var arg1), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XML; var thiz:XML = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.insertChildAfter(as3_id2rcv[%3].val, as3_id2rcv[%4].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::var res;
	AS3_GET_ID(res) = id;
	return res;
}, 16)
AS3_IMETH_IMPL(AS3_NS::var, , XML, insertChildBefore, ( AS3_NS::var arg0, AS3_NS::var arg1), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XML; var thiz:XML = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.insertChildBefore(as3_id2rcv[%3].val, as3_id2rcv[%4].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::var res;
	AS3_GET_ID(res) = id;
	return res;
}, 16)
AS3_IMETH_IMPL(int, , XML, length, (), {
	unsigned eid;
	int res;
	inline_as3 ("import XML; var thiz:XML = as3_id2rcv[%2].val; try { %1 = thiz.length(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_IMETH_IMPL(AS3_NS::Object, , XML, localName, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XML; var thiz:XML = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.localName()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Object res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::Object, , XML, name, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XML; var thiz:XML = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.name()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Object res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::var, , XML, _namespace, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XML; var thiz:XML = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.namespace(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::var res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(AS3_NS::Array, , XML, namespaceDeclarations, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XML; var thiz:XML = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.namespaceDeclarations()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Array res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::String, , XML, nodeKind, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XML; var thiz:XML = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.nodeKind()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::XML, , XML, normalize, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XML; var thiz:XML = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.normalize()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::XML res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::var, , XML, parent, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XML; var thiz:XML = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.parent()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::var res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::XMLList, , XML, processingInstructions, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XML; var thiz:XML = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.processingInstructions(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::XMLList res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(AS3_NS::XML, , XML, prependChild, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XML; var thiz:XML = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.prependChild(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::XML res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(AS3_NS::XML, , XML, removeNamespace, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XML; var thiz:XML = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.removeNamespace(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::XML res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(AS3_NS::XML, , XML, replace, ( AS3_NS::var arg0, AS3_NS::var arg1), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XML; var thiz:XML = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.replace(as3_id2rcv[%3].val, as3_id2rcv[%4].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::XML res;
	AS3_GET_ID(res) = id;
	return res;
}, 16)
AS3_IMETH_IMPL(AS3_NS::XML, , XML, setChildren, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XML; var thiz:XML = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.setChildren(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::XML res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(void, , XML, setLocalName, ( AS3_NS::var arg0), {
	unsigned eid;
	inline_as3 ("import XML; var thiz:XML = as3_id2rcv[%1].val; try { thiz.setLocalName(as3_id2rcv[%2].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 8)
AS3_IMETH_IMPL(void, , XML, setName, ( AS3_NS::var arg0), {
	unsigned eid;
	inline_as3 ("import XML; var thiz:XML = as3_id2rcv[%1].val; try { thiz.setName(as3_id2rcv[%2].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 8)
AS3_IMETH_IMPL(void, , XML, setNamespace, ( AS3_NS::var arg0), {
	unsigned eid;
	inline_as3 ("import XML; var thiz:XML = as3_id2rcv[%1].val; try { thiz.setNamespace(as3_id2rcv[%2].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 8)
AS3_IMETH_IMPL(AS3_NS::XMLList, , XML, text, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XML; var thiz:XML = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.text()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::XMLList res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::String, , XML, toXMLString, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XML; var thiz:XML = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.toXMLString()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::Function, , XML, notification, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XML; var thiz:XML = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.notification()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Function res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::var, , XML, setNotification, ( AS3_NS::Function arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XML; var thiz:XML = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.setNotification(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::var res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(AS3_NS::var, , XML, toJSON, ( AS3_NS::String arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XML; var thiz:XML = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.toJSON(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::var res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(AS3_NS::XML, , XML, valueOf, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XML; var thiz:XML = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.valueOf()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::XML res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_METH_IMPL(AS3_NS::Object, XML::settings, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XML; try { %1 = as3_valAcquireId(XML.settings()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Object res;
	AS3_GET_ID(res) = id;
	return res;
}, 4)
AS3_METH_IMPL(void, XML::setSettings, ( AS3_NS::Object arg0), {
	unsigned eid;
	inline_as3 ("import XML; try { XML.setSettings(as3_id2rcv[%1].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 4)
AS3_METH_IMPL(AS3_NS::Object, XML::defaultSettings, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XML; try { %1 = as3_valAcquireId(XML.defaultSettings()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Object res;
	AS3_GET_ID(res) = id;
	return res;
}, 4)
AS3_CONSTR_IMPL(, XML, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XML; try { %1 = as3_valAcquireId(new XML(as3_id2rcv[%2].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::XML res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_BASE_IMPL(, XMLList, "", "XMLList");
AS3_PROP_GET_IMPL(AS3_NS::var, length, XMLList, "XMLList.length", "XMLList");
AS3_IMETH_IMPL(AS3_NS::String, , XMLList, toString, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XMLList; var thiz:XMLList = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.toString()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::XMLList, , XMLList, valueOf, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XMLList; var thiz:XMLList = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.valueOf()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::XMLList res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(bool, , XMLList, hasOwnProperty, ( AS3_NS::var arg0), {
	unsigned eid;
	bool res;
	inline_as3 ("import XMLList; var thiz:XMLList = as3_id2rcv[%2].val; try { %1 = thiz.hasOwnProperty(as3_id2rcv[%3].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_IMETH_IMPL(bool, , XMLList, propertyIsEnumerable, ( AS3_NS::var arg0), {
	unsigned eid;
	bool res;
	inline_as3 ("import XMLList; var thiz:XMLList = as3_id2rcv[%2].val; try { %1 = thiz.propertyIsEnumerable(as3_id2rcv[%3].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::XMLList, , XMLList, attribute, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XMLList; var thiz:XMLList = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.attribute(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::XMLList res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(AS3_NS::XMLList, , XMLList, attributes, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XMLList; var thiz:XMLList = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.attributes()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::XMLList res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::XMLList, , XMLList, child, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XMLList; var thiz:XMLList = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.child(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::XMLList res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(AS3_NS::XMLList, , XMLList, children, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XMLList; var thiz:XMLList = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.children()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::XMLList res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::XMLList, , XMLList, comments, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XMLList; var thiz:XMLList = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.comments()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::XMLList res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(bool, , XMLList, contains, ( AS3_NS::var arg0), {
	unsigned eid;
	bool res;
	inline_as3 ("import XMLList; var thiz:XMLList = as3_id2rcv[%2].val; try { %1 = thiz.contains(as3_id2rcv[%3].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::XMLList, , XMLList, copy, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XMLList; var thiz:XMLList = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.copy()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::XMLList res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::XMLList, , XMLList, descendants, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XMLList; var thiz:XMLList = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.descendants(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::XMLList res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(AS3_NS::XMLList, , XMLList, elements, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XMLList; var thiz:XMLList = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.elements(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::XMLList res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(bool, , XMLList, hasComplexContent, (), {
	unsigned eid;
	bool res;
	inline_as3 ("import XMLList; var thiz:XMLList = as3_id2rcv[%2].val; try { %1 = thiz.hasComplexContent(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_IMETH_IMPL(bool, , XMLList, hasSimpleContent, (), {
	unsigned eid;
	bool res;
	inline_as3 ("import XMLList; var thiz:XMLList = as3_id2rcv[%2].val; try { %1 = thiz.hasSimpleContent(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_IMETH_IMPL(int, , XMLList, length, (), {
	unsigned eid;
	int res;
	inline_as3 ("import XMLList; var thiz:XMLList = as3_id2rcv[%2].val; try { %1 = thiz.length(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_IMETH_IMPL(AS3_NS::Object, , XMLList, name, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XMLList; var thiz:XMLList = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.name()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Object res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::XMLList, , XMLList, normalize, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XMLList; var thiz:XMLList = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.normalize()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::XMLList res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::var, , XMLList, parent, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XMLList; var thiz:XMLList = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.parent()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::var res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::XMLList, , XMLList, processingInstructions, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XMLList; var thiz:XMLList = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.processingInstructions(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::XMLList res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(AS3_NS::XMLList, , XMLList, text, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XMLList; var thiz:XMLList = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.text()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::XMLList res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::String, , XMLList, toXMLString, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XMLList; var thiz:XMLList = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.toXMLString()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::XML, , XMLList, addNamespace, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XMLList; var thiz:XMLList = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.addNamespace(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::XML res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(AS3_NS::XML, , XMLList, appendChild, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XMLList; var thiz:XMLList = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.appendChild(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::XML res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(int, , XMLList, childIndex, (), {
	unsigned eid;
	int res;
	inline_as3 ("import XMLList; var thiz:XMLList = as3_id2rcv[%2].val; try { %1 = thiz.childIndex(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_IMETH_IMPL(AS3_NS::Array, , XMLList, inScopeNamespaces, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XMLList; var thiz:XMLList = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.inScopeNamespaces()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Array res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::var, , XMLList, insertChildAfter, ( AS3_NS::var arg0, AS3_NS::var arg1), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XMLList; var thiz:XMLList = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.insertChildAfter(as3_id2rcv[%3].val, as3_id2rcv[%4].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::var res;
	AS3_GET_ID(res) = id;
	return res;
}, 16)
AS3_IMETH_IMPL(AS3_NS::var, , XMLList, insertChildBefore, ( AS3_NS::var arg0, AS3_NS::var arg1), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XMLList; var thiz:XMLList = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.insertChildBefore(as3_id2rcv[%3].val, as3_id2rcv[%4].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::var res;
	AS3_GET_ID(res) = id;
	return res;
}, 16)
AS3_IMETH_IMPL(AS3_NS::String, , XMLList, nodeKind, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XMLList; var thiz:XMLList = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.nodeKind()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::var, , XMLList, _namespace, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XMLList; var thiz:XMLList = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.namespace(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::var res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(AS3_NS::Object, , XMLList, localName, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XMLList; var thiz:XMLList = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.localName()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Object res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::Array, , XMLList, namespaceDeclarations, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XMLList; var thiz:XMLList = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.namespaceDeclarations()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Array res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::XML, , XMLList, prependChild, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XMLList; var thiz:XMLList = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.prependChild(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::XML res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(AS3_NS::XML, , XMLList, removeNamespace, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XMLList; var thiz:XMLList = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.removeNamespace(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::XML res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(AS3_NS::XML, , XMLList, replace, ( AS3_NS::var arg0, AS3_NS::var arg1), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XMLList; var thiz:XMLList = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.replace(as3_id2rcv[%3].val, as3_id2rcv[%4].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::XML res;
	AS3_GET_ID(res) = id;
	return res;
}, 16)
AS3_IMETH_IMPL(AS3_NS::XML, , XMLList, setChildren, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XMLList; var thiz:XMLList = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.setChildren(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::XML res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(void, , XMLList, setLocalName, ( AS3_NS::var arg0), {
	unsigned eid;
	inline_as3 ("import XMLList; var thiz:XMLList = as3_id2rcv[%1].val; try { thiz.setLocalName(as3_id2rcv[%2].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 8)
AS3_IMETH_IMPL(void, , XMLList, setName, ( AS3_NS::var arg0), {
	unsigned eid;
	inline_as3 ("import XMLList; var thiz:XMLList = as3_id2rcv[%1].val; try { thiz.setName(as3_id2rcv[%2].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 8)
AS3_IMETH_IMPL(void, , XMLList, setNamespace, ( AS3_NS::var arg0), {
	unsigned eid;
	inline_as3 ("import XMLList; var thiz:XMLList = as3_id2rcv[%1].val; try { thiz.setNamespace(as3_id2rcv[%2].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 8)
AS3_IMETH_IMPL(AS3_NS::var, , XMLList, toJSON, ( AS3_NS::String arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XMLList; var thiz:XMLList = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.toJSON(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::var res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_CONSTR_IMPL(, XMLList, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import XMLList; try { %1 = as3_valAcquireId(new XMLList(as3_id2rcv[%2].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::XMLList res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_BASE_IMPL(, QName, "", "QName");
AS3_IPROP_GET_IMPL(AS3_NS::String, localName, , QName, "localName");
AS3_IPROP_GET_IMPL(AS3_NS::var, uri, , QName, "uri");
AS3_PROP_GET_IMPL(AS3_NS::var, length, QName, "QName.length", "QName");
AS3_IMETH_IMPL(AS3_NS::QName, , QName, valueOf, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import QName; var thiz:QName = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.valueOf()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::QName res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::String, , QName, toString, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import QName; var thiz:QName = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.toString()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_CONSTR_IMPL(, QName, ( AS3_NS::var arg0, AS3_NS::var arg1), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import QName; try { %1 = as3_valAcquireId(new QName(as3_id2rcv[%2].val, as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::QName res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_BASE_IMPL(flash::utils::, IDataInput, "flash.utils.", "IDataInput");
AS3_IPROP_GET_SIMPL(unsigned, bytesAvailable, flash::utils::, IDataInput, "bytesAvailable");
AS3_IPROP_SET_GET_IMPL(AS3_NS::String, endian, flash::utils::, IDataInput, "endian");
AS3_IPROP_SET_GET_SIMPL(unsigned, objectEncoding, flash::utils::, IDataInput, "objectEncoding");
AS3_IMETH_IMPL(void, flash::utils::, IDataInput, readBytes, ( AS3_NS::flash::utils::ByteArray arg0, unsigned arg1, unsigned arg2, void *ramPos), {
	unsigned eid;
	inline_as3 ("ram.position = %5; import flash.utils.IDataInput; var thiz:IDataInput = as3_id2rcv[%1].val; try { thiz.readBytes(as3_id2rcv[%2].val, %3, %4); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(arg1), "r"(arg2), "r"(ramPos));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 20)
AS3_IMETH_IMPL(bool, flash::utils::, IDataInput, readBoolean, (), {
	unsigned eid;
	bool res;
	inline_as3 ("import flash.utils.IDataInput; var thiz:IDataInput = as3_id2rcv[%2].val; try { %1 = thiz.readBoolean(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_IMETH_IMPL(int, flash::utils::, IDataInput, readByte, (), {
	unsigned eid;
	int res;
	inline_as3 ("import flash.utils.IDataInput; var thiz:IDataInput = as3_id2rcv[%2].val; try { %1 = thiz.readByte(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_IMETH_IMPL(unsigned, flash::utils::, IDataInput, readUnsignedByte, (), {
	unsigned eid;
	unsigned res;
	inline_as3 ("import flash.utils.IDataInput; var thiz:IDataInput = as3_id2rcv[%2].val; try { %1 = thiz.readUnsignedByte(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_IMETH_IMPL(int, flash::utils::, IDataInput, readShort, (), {
	unsigned eid;
	int res;
	inline_as3 ("import flash.utils.IDataInput; var thiz:IDataInput = as3_id2rcv[%2].val; try { %1 = thiz.readShort(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_IMETH_IMPL(unsigned, flash::utils::, IDataInput, readUnsignedShort, (), {
	unsigned eid;
	unsigned res;
	inline_as3 ("import flash.utils.IDataInput; var thiz:IDataInput = as3_id2rcv[%2].val; try { %1 = thiz.readUnsignedShort(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_IMETH_IMPL(int, flash::utils::, IDataInput, readInt, (), {
	unsigned eid;
	int res;
	inline_as3 ("import flash.utils.IDataInput; var thiz:IDataInput = as3_id2rcv[%2].val; try { %1 = thiz.readInt(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_IMETH_IMPL(unsigned, flash::utils::, IDataInput, readUnsignedInt, (), {
	unsigned eid;
	unsigned res;
	inline_as3 ("import flash.utils.IDataInput; var thiz:IDataInput = as3_id2rcv[%2].val; try { %1 = thiz.readUnsignedInt(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_IMETH_IMPL(double, flash::utils::, IDataInput, readFloat, (), {
	unsigned eid;
	double res;
	inline_as3 ("import flash.utils.IDataInput; var thiz:IDataInput = as3_id2rcv[%2].val; try { %1 = thiz.readFloat(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_IMETH_IMPL(double, flash::utils::, IDataInput, readDouble, (), {
	unsigned eid;
	double res;
	inline_as3 ("import flash.utils.IDataInput; var thiz:IDataInput = as3_id2rcv[%2].val; try { %1 = thiz.readDouble(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_IMETH_IMPL(AS3_NS::String, flash::utils::, IDataInput, readMultiByte, ( unsigned arg0, AS3_NS::String arg1), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import flash.utils.IDataInput; var thiz:IDataInput = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.readMultiByte(%3, as3_id2rcv[%4].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(arg0), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 16)
AS3_IMETH_IMPL(AS3_NS::String, flash::utils::, IDataInput, readUTF, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import flash.utils.IDataInput; var thiz:IDataInput = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.readUTF()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::String, flash::utils::, IDataInput, readUTFBytes, ( unsigned arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import flash.utils.IDataInput; var thiz:IDataInput = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.readUTFBytes(%3)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(AS3_NS::var, flash::utils::, IDataInput, readObject, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import flash.utils.IDataInput; var thiz:IDataInput = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.readObject()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::var res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_BASE_IMPL(flash::utils::, IDataOutput, "flash.utils.", "IDataOutput");
AS3_IPROP_SET_GET_IMPL(AS3_NS::String, endian, flash::utils::, IDataOutput, "endian");
AS3_IPROP_SET_GET_SIMPL(unsigned, objectEncoding, flash::utils::, IDataOutput, "objectEncoding");
AS3_IMETH_IMPL(void, flash::utils::, IDataOutput, writeBytes, ( AS3_NS::flash::utils::ByteArray arg0, unsigned arg1, unsigned arg2, void *ramPos), {
	unsigned eid;
	inline_as3 ("ram.position = %5; import flash.utils.IDataOutput; var thiz:IDataOutput = as3_id2rcv[%1].val; try { thiz.writeBytes(as3_id2rcv[%2].val, %3, %4); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(arg1), "r"(arg2), "r"(ramPos));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 20)
AS3_IMETH_IMPL(void, flash::utils::, IDataOutput, writeBoolean, ( bool arg0), {
	unsigned eid;
	inline_as3 ("import flash.utils.IDataOutput; var thiz:IDataOutput = as3_id2rcv[%1].val; try { thiz.writeBoolean(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 8)
AS3_IMETH_IMPL(void, flash::utils::, IDataOutput, writeByte, ( int arg0), {
	unsigned eid;
	inline_as3 ("import flash.utils.IDataOutput; var thiz:IDataOutput = as3_id2rcv[%1].val; try { thiz.writeByte(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 8)
AS3_IMETH_IMPL(void, flash::utils::, IDataOutput, writeShort, ( int arg0), {
	unsigned eid;
	inline_as3 ("import flash.utils.IDataOutput; var thiz:IDataOutput = as3_id2rcv[%1].val; try { thiz.writeShort(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 8)
AS3_IMETH_IMPL(void, flash::utils::, IDataOutput, writeInt, ( int arg0), {
	unsigned eid;
	inline_as3 ("import flash.utils.IDataOutput; var thiz:IDataOutput = as3_id2rcv[%1].val; try { thiz.writeInt(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 8)
AS3_IMETH_IMPL(void, flash::utils::, IDataOutput, writeUnsignedInt, ( unsigned arg0), {
	unsigned eid;
	inline_as3 ("import flash.utils.IDataOutput; var thiz:IDataOutput = as3_id2rcv[%1].val; try { thiz.writeUnsignedInt(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 8)
AS3_IMETH_IMPL(void, flash::utils::, IDataOutput, writeFloat, ( double arg0), {
	unsigned eid;
	inline_as3 ("import flash.utils.IDataOutput; var thiz:IDataOutput = as3_id2rcv[%1].val; try { thiz.writeFloat(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 12)
AS3_IMETH_IMPL(void, flash::utils::, IDataOutput, writeDouble, ( double arg0), {
	unsigned eid;
	inline_as3 ("import flash.utils.IDataOutput; var thiz:IDataOutput = as3_id2rcv[%1].val; try { thiz.writeDouble(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 12)
AS3_IMETH_IMPL(void, flash::utils::, IDataOutput, writeMultiByte, ( AS3_NS::String arg0, AS3_NS::String arg1), {
	unsigned eid;
	inline_as3 ("import flash.utils.IDataOutput; var thiz:IDataOutput = as3_id2rcv[%1].val; try { thiz.writeMultiByte(as3_id2rcv[%2].val, as3_id2rcv[%3].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 12)
AS3_IMETH_IMPL(void, flash::utils::, IDataOutput, writeUTF, ( AS3_NS::String arg0), {
	unsigned eid;
	inline_as3 ("import flash.utils.IDataOutput; var thiz:IDataOutput = as3_id2rcv[%1].val; try { thiz.writeUTF(as3_id2rcv[%2].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 8)
AS3_IMETH_IMPL(void, flash::utils::, IDataOutput, writeUTFBytes, ( AS3_NS::String arg0), {
	unsigned eid;
	inline_as3 ("import flash.utils.IDataOutput; var thiz:IDataOutput = as3_id2rcv[%1].val; try { thiz.writeUTFBytes(as3_id2rcv[%2].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 8)
AS3_IMETH_IMPL(void, flash::utils::, IDataOutput, writeObject, ( AS3_NS::var arg0), {
	unsigned eid;
	inline_as3 ("import flash.utils.IDataOutput; var thiz:IDataOutput = as3_id2rcv[%1].val; try { thiz.writeObject(as3_id2rcv[%2].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 8)
AS3_BASE_IMPL(flash::utils::, Proxy, "flash.utils.", "Proxy");
AS3_IMETH_IMPL(AS3_NS::var, flash::utils::, Proxy, getProperty, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import flash.utils.Proxy; var thiz:Proxy = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.getProperty(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::var res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(void, flash::utils::, Proxy, setProperty, ( AS3_NS::var arg0, AS3_NS::var arg1), {
	unsigned eid;
	inline_as3 ("import flash.utils.Proxy; var thiz:Proxy = as3_id2rcv[%1].val; try { thiz.setProperty(as3_id2rcv[%2].val, as3_id2rcv[%3].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 12)
AS3_IMETH_IMPL(AS3_NS::var, flash::utils::, Proxy, callProperty, ( AS3_NS::var arg0, int restCount, var *rest), {
	unsigned eid;
	unsigned id;
	var va = AS3_NS::internal::new_Array(restCount, rest);
	inline_as3 ("import flash.utils.Proxy; var thiz:Proxy = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.callProperty.apply(thiz, [as3_id2rcv[%3].val].concat(as3_id2rcv[%4].val))); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(va)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::var res;
	AS3_GET_ID(res) = id;
	return res;
}, 20)
AS3_IMETH_IMPL(bool, flash::utils::, Proxy, hasProperty, ( AS3_NS::var arg0), {
	unsigned eid;
	bool res;
	inline_as3 ("import flash.utils.Proxy; var thiz:Proxy = as3_id2rcv[%2].val; try { %1 = thiz.hasProperty(as3_id2rcv[%3].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_IMETH_IMPL(bool, flash::utils::, Proxy, deleteProperty, ( AS3_NS::var arg0), {
	unsigned eid;
	bool res;
	inline_as3 ("import flash.utils.Proxy; var thiz:Proxy = as3_id2rcv[%2].val; try { %1 = thiz.deleteProperty(as3_id2rcv[%3].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::var, flash::utils::, Proxy, getDescendants, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import flash.utils.Proxy; var thiz:Proxy = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.getDescendants(as3_id2rcv[%3].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::var res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(int, flash::utils::, Proxy, nextNameIndex, ( int arg0), {
	unsigned eid;
	int res;
	inline_as3 ("import flash.utils.Proxy; var thiz:Proxy = as3_id2rcv[%2].val; try { %1 = thiz.nextNameIndex(%3); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::String, flash::utils::, Proxy, nextName, ( int arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import flash.utils.Proxy; var thiz:Proxy = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.nextName(%3)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(AS3_NS::var, flash::utils::, Proxy, nextValue, ( int arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import flash.utils.Proxy; var thiz:Proxy = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.nextValue(%3)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::var res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(bool, flash::utils::, Proxy, isAttribute, ( AS3_NS::var arg0), {
	unsigned eid;
	bool res;
	inline_as3 ("import flash.utils.Proxy; var thiz:Proxy = as3_id2rcv[%2].val; try { %1 = thiz.isAttribute(as3_id2rcv[%3].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_CONSTR_IMPL(flash::utils::, Proxy, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import flash.utils.Proxy; try { %1 = as3_valAcquireId(new Proxy()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::flash::utils::Proxy res;
	AS3_GET_ID(res) = id;
	return res;
}, 4)
AS3_BASE_IMPL(flash::utils::, Dictionary, "flash.utils.", "Dictionary");
AS3_CONSTR_IMPL(flash::utils::, Dictionary, ( bool arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import flash.utils.Dictionary; try { %1 = as3_valAcquireId(new Dictionary(%2)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::flash::utils::Dictionary res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_BASE_IMPL(flash::net::, IDynamicPropertyOutput, "flash.net.", "IDynamicPropertyOutput");
AS3_IMETH_IMPL(void, flash::net::, IDynamicPropertyOutput, writeDynamicProperty, ( AS3_NS::String arg0, AS3_NS::var arg1), {
	unsigned eid;
	inline_as3 ("import flash.net.IDynamicPropertyOutput; var thiz:IDynamicPropertyOutput = as3_id2rcv[%1].val; try { thiz.writeDynamicProperty(as3_id2rcv[%2].val, as3_id2rcv[%3].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 12)
AS3_BASE_IMPL(flash::net::, IDynamicPropertyWriter, "flash.net.", "IDynamicPropertyWriter");
AS3_IMETH_IMPL(void, flash::net::, IDynamicPropertyWriter, writeDynamicProperties, ( AS3_NS::Object arg0, AS3_NS::flash::net::IDynamicPropertyOutput arg1), {
	unsigned eid;
	inline_as3 ("import flash.net.IDynamicPropertyWriter; var thiz:IDynamicPropertyWriter = as3_id2rcv[%1].val; try { thiz.writeDynamicProperties(as3_id2rcv[%2].val, as3_id2rcv[%3].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 12)
AS3_BASE_IMPL(flash::utils::, IExternalizable, "flash.utils.", "IExternalizable");
AS3_IMETH_IMPL(void, flash::utils::, IExternalizable, writeExternal, ( AS3_NS::flash::utils::IDataOutput arg0), {
	unsigned eid;
	inline_as3 ("import flash.utils.IExternalizable; var thiz:IExternalizable = as3_id2rcv[%1].val; try { thiz.writeExternal(as3_id2rcv[%2].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 8)
AS3_IMETH_IMPL(void, flash::utils::, IExternalizable, readExternal, ( AS3_NS::flash::utils::IDataInput arg0), {
	unsigned eid;
	inline_as3 ("import flash.utils.IExternalizable; var thiz:IExternalizable = as3_id2rcv[%1].val; try { thiz.readExternal(as3_id2rcv[%2].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 8)
AS3_BASE_IMPL(flash::net::, ObjectEncoding, "flash.net.", "ObjectEncoding");
AS3_PROP_GET_SIMPL(unsigned, AMF0, flash::net::ObjectEncoding, "flash.net.ObjectEncoding.AMF0", "flash.net.ObjectEncoding");
AS3_PROP_GET_SIMPL(unsigned, AMF3, flash::net::ObjectEncoding, "flash.net.ObjectEncoding.AMF3", "flash.net.ObjectEncoding");
AS3_PROP_GET_SIMPL(unsigned, DEFAULT, flash::net::ObjectEncoding, "flash.net.ObjectEncoding.DEFAULT", "flash.net.ObjectEncoding");
AS3_PROP_SET_GET_IMPL(AS3_NS::flash::net::IDynamicPropertyWriter, dynamicPropertyWriter, flash::net::ObjectEncoding, "flash.net.ObjectEncoding.dynamicPropertyWriter", "flash.net.ObjectEncoding");
AS3_CONSTR_IMPL(flash::net::, ObjectEncoding, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import flash.net.ObjectEncoding; try { %1 = as3_valAcquireId(new ObjectEncoding()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::flash::net::ObjectEncoding res;
	AS3_GET_ID(res) = id;
	return res;
}, 4)
AS3_BASE_IMPL(flash::concurrent::, Mutex, "flash.concurrent.", "Mutex");
AS3_PROP_GET_SIMPL(bool, isSupported, flash::concurrent::Mutex, "flash.concurrent.Mutex.isSupported", "flash.concurrent.Mutex");
AS3_IMETH_IMPL(void, flash::concurrent::, Mutex, lock, (), {
	unsigned eid;
	inline_as3 ("import flash.concurrent.Mutex; var thiz:Mutex = as3_id2rcv[%1].val; try { thiz.lock(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 4)
AS3_IMETH_IMPL(bool, flash::concurrent::, Mutex, tryLock, (), {
	unsigned eid;
	bool res;
	inline_as3 ("import flash.concurrent.Mutex; var thiz:Mutex = as3_id2rcv[%2].val; try { %1 = thiz.tryLock(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_IMETH_IMPL(void, flash::concurrent::, Mutex, unlock, (), {
	unsigned eid;
	inline_as3 ("import flash.concurrent.Mutex; var thiz:Mutex = as3_id2rcv[%1].val; try { thiz.unlock(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 4)
AS3_CONSTR_IMPL(flash::concurrent::, Mutex, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import flash.concurrent.Mutex; try { %1 = as3_valAcquireId(new Mutex()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::flash::concurrent::Mutex res;
	AS3_GET_ID(res) = id;
	return res;
}, 4)
AS3_BASE_IMPL(flash::concurrent::, Condition, "flash.concurrent.", "Condition");
AS3_IPROP_GET_IMPL(AS3_NS::flash::concurrent::Mutex, mutex, flash::concurrent::, Condition, "mutex");
AS3_PROP_GET_SIMPL(bool, isSupported, flash::concurrent::Condition, "flash.concurrent.Condition.isSupported", "flash.concurrent.Condition");
AS3_IMETH_IMPL(bool, flash::concurrent::, Condition, wait, ( double arg0), {
	unsigned eid;
	bool res;
	inline_as3 ("import flash.concurrent.Condition; var thiz:Condition = as3_id2rcv[%2].val; try { %1 = thiz.wait(%3); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 12)
AS3_IMETH_IMPL(void, flash::concurrent::, Condition, notify, (), {
	unsigned eid;
	inline_as3 ("import flash.concurrent.Condition; var thiz:Condition = as3_id2rcv[%1].val; try { thiz.notify(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 4)
AS3_IMETH_IMPL(void, flash::concurrent::, Condition, notifyAll, (), {
	unsigned eid;
	inline_as3 ("import flash.concurrent.Condition; var thiz:Condition = as3_id2rcv[%1].val; try { thiz.notifyAll(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 4)
AS3_CONSTR_IMPL(flash::concurrent::, Condition, ( AS3_NS::flash::concurrent::Mutex arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import flash.concurrent.Condition; try { %1 = as3_valAcquireId(new Condition(as3_id2rcv[%2].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::flash::concurrent::Condition res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_BASE_IMPL(flash::utils::, CompressionAlgorithm, "flash.utils.", "CompressionAlgorithm");
AS3_PROP_GET_IMPL(AS3_NS::String, DEFLATE, flash::utils::CompressionAlgorithm, "flash.utils.CompressionAlgorithm.DEFLATE", "flash.utils.CompressionAlgorithm");
AS3_PROP_GET_IMPL(AS3_NS::String, LZMA, flash::utils::CompressionAlgorithm, "flash.utils.CompressionAlgorithm.LZMA", "flash.utils.CompressionAlgorithm");
AS3_PROP_GET_IMPL(AS3_NS::String, ZLIB, flash::utils::CompressionAlgorithm, "flash.utils.CompressionAlgorithm.ZLIB", "flash.utils.CompressionAlgorithm");
AS3_CONSTR_IMPL(flash::utils::, CompressionAlgorithm, (), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import flash.utils.CompressionAlgorithm; try { %1 = as3_valAcquireId(new CompressionAlgorithm()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::flash::utils::CompressionAlgorithm res;
	AS3_GET_ID(res) = id;
	return res;
}, 4)
AS3_BASE_IMPL(flash::utils::, ByteArray, "flash.utils.", "ByteArray");
AS3_IPROP_GET_SIMPL(unsigned, bytesAvailable, flash::utils::, ByteArray, "bytesAvailable");
AS3_IPROP_SET_GET_IMPL(AS3_NS::String, endian, flash::utils::, ByteArray, "endian");
AS3_IPROP_SET_GET_SIMPL(unsigned, length, flash::utils::, ByteArray, "length");
AS3_IPROP_SET_GET_SIMPL(unsigned, objectEncoding, flash::utils::, ByteArray, "objectEncoding");
AS3_IPROP_SET_GET_SIMPL(unsigned, position, flash::utils::, ByteArray, "position");
AS3_IPROP_SET_GET_SIMPL(bool, shareable, flash::utils::, ByteArray, "shareable");
AS3_PROP_SET_GET_SIMPL(unsigned, defaultObjectEncoding, flash::utils::ByteArray, "flash.utils.ByteArray.defaultObjectEncoding", "flash.utils.ByteArray");
AS3_IMETH_IMPL(void, flash::utils::, ByteArray, readBytes, ( AS3_NS::flash::utils::ByteArray arg0, unsigned arg1, unsigned arg2, void *ramPos), {
	unsigned eid;
	inline_as3 ("ram.position = %5; import flash.utils.ByteArray; var thiz:ByteArray = as3_id2rcv[%1].val; try { thiz.readBytes(as3_id2rcv[%2].val, %3, %4); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(arg1), "r"(arg2), "r"(ramPos));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 20)
AS3_IMETH_IMPL(void, flash::utils::, ByteArray, writeBytes, ( AS3_NS::flash::utils::ByteArray arg0, unsigned arg1, unsigned arg2, void *ramPos), {
	unsigned eid;
	inline_as3 ("ram.position = %5; import flash.utils.ByteArray; var thiz:ByteArray = as3_id2rcv[%1].val; try { thiz.writeBytes(as3_id2rcv[%2].val, %3, %4); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(arg1), "r"(arg2), "r"(ramPos));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 20)
AS3_IMETH_IMPL(void, flash::utils::, ByteArray, writeBoolean, ( bool arg0, void *ramPos), {
	unsigned eid;
	inline_as3 ("ram.position = %3; import flash.utils.ByteArray; var thiz:ByteArray = as3_id2rcv[%1].val; try { thiz.writeBoolean(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(arg0), "r"(ramPos));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 12)
AS3_IMETH_IMPL(void, flash::utils::, ByteArray, writeByte, ( int arg0, void *ramPos), {
	unsigned eid;
	inline_as3 ("ram.position = %3; import flash.utils.ByteArray; var thiz:ByteArray = as3_id2rcv[%1].val; try { thiz.writeByte(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(arg0), "r"(ramPos));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 12)
AS3_IMETH_IMPL(void, flash::utils::, ByteArray, writeShort, ( int arg0, void *ramPos), {
	unsigned eid;
	inline_as3 ("ram.position = %3; import flash.utils.ByteArray; var thiz:ByteArray = as3_id2rcv[%1].val; try { thiz.writeShort(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(arg0), "r"(ramPos));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 12)
AS3_IMETH_IMPL(void, flash::utils::, ByteArray, writeInt, ( int arg0, void *ramPos), {
	unsigned eid;
	inline_as3 ("ram.position = %3; import flash.utils.ByteArray; var thiz:ByteArray = as3_id2rcv[%1].val; try { thiz.writeInt(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(arg0), "r"(ramPos));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 12)
AS3_IMETH_IMPL(void, flash::utils::, ByteArray, writeUnsignedInt, ( unsigned arg0, void *ramPos), {
	unsigned eid;
	inline_as3 ("ram.position = %3; import flash.utils.ByteArray; var thiz:ByteArray = as3_id2rcv[%1].val; try { thiz.writeUnsignedInt(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(arg0), "r"(ramPos));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 12)
AS3_IMETH_IMPL(void, flash::utils::, ByteArray, writeFloat, ( double arg0, void *ramPos), {
	unsigned eid;
	inline_as3 ("ram.position = %3; import flash.utils.ByteArray; var thiz:ByteArray = as3_id2rcv[%1].val; try { thiz.writeFloat(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(arg0), "r"(ramPos));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 16)
AS3_IMETH_IMPL(void, flash::utils::, ByteArray, writeDouble, ( double arg0, void *ramPos), {
	unsigned eid;
	inline_as3 ("ram.position = %3; import flash.utils.ByteArray; var thiz:ByteArray = as3_id2rcv[%1].val; try { thiz.writeDouble(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(arg0), "r"(ramPos));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 16)
AS3_IMETH_IMPL(void, flash::utils::, ByteArray, writeMultiByte, ( AS3_NS::String arg0, AS3_NS::String arg1, void *ramPos), {
	unsigned eid;
	inline_as3 ("ram.position = %4; import flash.utils.ByteArray; var thiz:ByteArray = as3_id2rcv[%1].val; try { thiz.writeMultiByte(as3_id2rcv[%2].val, as3_id2rcv[%3].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)), "r"(ramPos));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 16)
AS3_IMETH_IMPL(void, flash::utils::, ByteArray, writeUTF, ( AS3_NS::String arg0, void *ramPos), {
	unsigned eid;
	inline_as3 ("ram.position = %3; import flash.utils.ByteArray; var thiz:ByteArray = as3_id2rcv[%1].val; try { thiz.writeUTF(as3_id2rcv[%2].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(ramPos));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 12)
AS3_IMETH_IMPL(void, flash::utils::, ByteArray, writeUTFBytes, ( AS3_NS::String arg0, void *ramPos), {
	unsigned eid;
	inline_as3 ("ram.position = %3; import flash.utils.ByteArray; var thiz:ByteArray = as3_id2rcv[%1].val; try { thiz.writeUTFBytes(as3_id2rcv[%2].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(ramPos));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 12)
AS3_IMETH_IMPL(bool, flash::utils::, ByteArray, readBoolean, ( void *ramPos), {
	unsigned eid;
	bool res;
	inline_as3 ("ram.position = %3; import flash.utils.ByteArray; var thiz:ByteArray = as3_id2rcv[%2].val; try { %1 = thiz.readBoolean(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(ramPos));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_IMETH_IMPL(int, flash::utils::, ByteArray, readByte, ( void *ramPos), {
	unsigned eid;
	int res;
	inline_as3 ("ram.position = %3; import flash.utils.ByteArray; var thiz:ByteArray = as3_id2rcv[%2].val; try { %1 = thiz.readByte(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(ramPos));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_IMETH_IMPL(unsigned, flash::utils::, ByteArray, readUnsignedByte, ( void *ramPos), {
	unsigned eid;
	unsigned res;
	inline_as3 ("ram.position = %3; import flash.utils.ByteArray; var thiz:ByteArray = as3_id2rcv[%2].val; try { %1 = thiz.readUnsignedByte(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(ramPos));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_IMETH_IMPL(int, flash::utils::, ByteArray, readShort, ( void *ramPos), {
	unsigned eid;
	int res;
	inline_as3 ("ram.position = %3; import flash.utils.ByteArray; var thiz:ByteArray = as3_id2rcv[%2].val; try { %1 = thiz.readShort(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(ramPos));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_IMETH_IMPL(unsigned, flash::utils::, ByteArray, readUnsignedShort, ( void *ramPos), {
	unsigned eid;
	unsigned res;
	inline_as3 ("ram.position = %3; import flash.utils.ByteArray; var thiz:ByteArray = as3_id2rcv[%2].val; try { %1 = thiz.readUnsignedShort(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(ramPos));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_IMETH_IMPL(int, flash::utils::, ByteArray, readInt, ( void *ramPos), {
	unsigned eid;
	int res;
	inline_as3 ("ram.position = %3; import flash.utils.ByteArray; var thiz:ByteArray = as3_id2rcv[%2].val; try { %1 = thiz.readInt(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(ramPos));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_IMETH_IMPL(unsigned, flash::utils::, ByteArray, readUnsignedInt, ( void *ramPos), {
	unsigned eid;
	unsigned res;
	inline_as3 ("ram.position = %3; import flash.utils.ByteArray; var thiz:ByteArray = as3_id2rcv[%2].val; try { %1 = thiz.readUnsignedInt(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(ramPos));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_IMETH_IMPL(double, flash::utils::, ByteArray, readFloat, ( void *ramPos), {
	unsigned eid;
	double res;
	inline_as3 ("ram.position = %3; import flash.utils.ByteArray; var thiz:ByteArray = as3_id2rcv[%2].val; try { %1 = thiz.readFloat(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(ramPos));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_IMETH_IMPL(double, flash::utils::, ByteArray, readDouble, ( void *ramPos), {
	unsigned eid;
	double res;
	inline_as3 ("ram.position = %3; import flash.utils.ByteArray; var thiz:ByteArray = as3_id2rcv[%2].val; try { %1 = thiz.readDouble(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(ramPos));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_IMETH_IMPL(AS3_NS::String, flash::utils::, ByteArray, readMultiByte, ( unsigned arg0, AS3_NS::String arg1, void *ramPos), {
	unsigned eid;
	unsigned id;
	inline_as3 ("ram.position = %5; import flash.utils.ByteArray; var thiz:ByteArray = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.readMultiByte(%3, as3_id2rcv[%4].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(arg0), "r"(AS3_GET_ID(arg1)), "r"(ramPos));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 20)
AS3_IMETH_IMPL(AS3_NS::String, flash::utils::, ByteArray, readUTF, ( void *ramPos), {
	unsigned eid;
	unsigned id;
	inline_as3 ("ram.position = %3; import flash.utils.ByteArray; var thiz:ByteArray = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.readUTF()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(ramPos));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(AS3_NS::String, flash::utils::, ByteArray, readUTFBytes, ( unsigned arg0, void *ramPos), {
	unsigned eid;
	unsigned id;
	inline_as3 ("ram.position = %4; import flash.utils.ByteArray; var thiz:ByteArray = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.readUTFBytes(%3)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(arg0), "r"(ramPos));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 16)
AS3_IMETH_IMPL(void, flash::utils::, ByteArray, writeObject, ( AS3_NS::var arg0, void *ramPos), {
	unsigned eid;
	inline_as3 ("ram.position = %3; import flash.utils.ByteArray; var thiz:ByteArray = as3_id2rcv[%1].val; try { thiz.writeObject(as3_id2rcv[%2].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(ramPos));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 12)
AS3_IMETH_IMPL(AS3_NS::var, flash::utils::, ByteArray, readObject, ( void *ramPos), {
	unsigned eid;
	unsigned id;
	inline_as3 ("ram.position = %3; import flash.utils.ByteArray; var thiz:ByteArray = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.readObject()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(ramPos));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::var res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(void, flash::utils::, ByteArray, deflate, ( void *ramPos), {
	unsigned eid;
	inline_as3 ("ram.position = %2; import flash.utils.ByteArray; var thiz:ByteArray = as3_id2rcv[%1].val; try { thiz.deflate(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(ramPos));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 8)
AS3_IMETH_IMPL(void, flash::utils::, ByteArray, compress, ( AS3_NS::String arg0, void *ramPos), {
	unsigned eid;
	inline_as3 ("ram.position = %3; import flash.utils.ByteArray; var thiz:ByteArray = as3_id2rcv[%1].val; try { thiz.compress(as3_id2rcv[%2].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(ramPos));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 12)
AS3_IMETH_IMPL(void, flash::utils::, ByteArray, inflate, ( void *ramPos), {
	unsigned eid;
	inline_as3 ("ram.position = %2; import flash.utils.ByteArray; var thiz:ByteArray = as3_id2rcv[%1].val; try { thiz.inflate(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(ramPos));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 8)
AS3_IMETH_IMPL(void, flash::utils::, ByteArray, uncompress, ( AS3_NS::String arg0, void *ramPos), {
	unsigned eid;
	inline_as3 ("ram.position = %3; import flash.utils.ByteArray; var thiz:ByteArray = as3_id2rcv[%1].val; try { thiz.uncompress(as3_id2rcv[%2].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(ramPos));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 12)
AS3_IMETH_IMPL(AS3_NS::String, flash::utils::, ByteArray, toString, ( void *ramPos), {
	unsigned eid;
	unsigned id;
	inline_as3 ("ram.position = %3; import flash.utils.ByteArray; var thiz:ByteArray = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.toString()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(ramPos));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_IMETH_IMPL(void, flash::utils::, ByteArray, clear, ( void *ramPos), {
	unsigned eid;
	inline_as3 ("ram.position = %2; import flash.utils.ByteArray; var thiz:ByteArray = as3_id2rcv[%1].val; try { thiz.clear(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(ramPos));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 8)
AS3_IMETH_IMPL(int, flash::utils::, ByteArray, atomicCompareAndSwapIntAt, ( int arg0, int arg1, int arg2, void *ramPos), {
	unsigned eid;
	int res;
	inline_as3 ("ram.position = %6; import flash.utils.ByteArray; var thiz:ByteArray = as3_id2rcv[%2].val; try { %1 = thiz.atomicCompareAndSwapIntAt(%3, %4, %5); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(arg0), "r"(arg1), "r"(arg2), "r"(ramPos));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 20)
AS3_IMETH_IMPL(int, flash::utils::, ByteArray, atomicCompareAndSwapLength, ( int arg0, int arg1, void *ramPos), {
	unsigned eid;
	int res;
	inline_as3 ("ram.position = %5; import flash.utils.ByteArray; var thiz:ByteArray = as3_id2rcv[%2].val; try { %1 = thiz.atomicCompareAndSwapLength(%3, %4); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(arg0), "r"(arg1), "r"(ramPos));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 16)
AS3_CONSTR_IMPL(flash::utils::, ByteArray, ( void *ramPos), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import flash.utils.ByteArray; try { %1 = as3_valAcquireId(new ByteArray()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::flash::utils::ByteArray res;
	AS3_GET_ID(res) = id;
	return res;
}, 4)
#endif // classes 
#ifndef AS3_IMPL // function interfaces
namespace flash {
namespace net {
AS3_METH_DEF(void, registerClassAlias, ( AS3_NS::String, AS3_NS::Class));
} //net
} //flash
namespace flash {
namespace net {
AS3_METH_DEF(AS3_NS::Class, getClassByAlias, ( AS3_NS::String));
} //net
} //flash
namespace avm2 {
namespace intrinsics {
namespace memory {
AS3_METH_DEF(void, mfence, ());
} //memory
} //intrinsics
} //avm2
namespace avm2 {
namespace intrinsics {
namespace memory {
AS3_METH_DEF(int, casi32, ( int, int, int));
} //memory
} //intrinsics
} //avm2
AS3_METH_DEF(bool, bugzilla, ( int));
AS3_METH_DEF(AS3_NS::String, decodeURI, ( AS3_NS::String = "undefined"));
AS3_METH_DEF(AS3_NS::String, decodeURIComponent, ( AS3_NS::String = "undefined"));
AS3_METH_DEF(AS3_NS::String, encodeURI, ( AS3_NS::String = "undefined"));
AS3_METH_DEF(AS3_NS::String, encodeURIComponent, ( AS3_NS::String = "undefined"));
AS3_METH_DEF(bool, isNaN, ( double = AS3_NS::Number::NaN));
AS3_METH_DEF(bool, isFinite, ( double = AS3_NS::Number::NaN));
AS3_METH_DEF(double, parseInt, ( AS3_NS::String = "NaN", int = 0));
AS3_METH_DEF(double, parseFloat, ( AS3_NS::String = "NaN"));
AS3_METH_DEF(AS3_NS::String, escape, ( AS3_NS::String = "undefined"));
AS3_METH_DEF(AS3_NS::String, unescape, ( AS3_NS::String = "undefined"));
AS3_METH_DEF(bool, isXMLName, ( AS3_NS::var = AS3_NS::internal::_undefined));
namespace avmplus {
AS3_METH_DEF(AS3_NS::XML, describeType, ( AS3_NS::var, unsigned));
} //avmplus
namespace avmplus {
AS3_METH_DEF(AS3_NS::String, getQualifiedClassName, ( AS3_NS::var));
} //avmplus
namespace avmplus {
AS3_METH_DEF(AS3_NS::String, getQualifiedSuperclassName, ( AS3_NS::var));
} //avmplus
#else // function implementations
AS3_METH_IMPL(void, flash::net::registerClassAlias, ( AS3_NS::String arg0, AS3_NS::Class arg1), {
	unsigned eid;
	inline_as3 ("import flash.net.registerClassAlias; try { registerClassAlias(as3_id2rcv[%1].val, as3_id2rcv[%2].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 8)
AS3_METH_IMPL(AS3_NS::Class, flash::net::getClassByAlias, ( AS3_NS::String arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import flash.net.getClassByAlias; try { %1 = as3_valAcquireId(getClassByAlias(as3_id2rcv[%2].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::Class res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_METH_IMPL(void, avm2::intrinsics::memory::mfence, (), {
	unsigned eid;
	inline_as3 ("import avm2.intrinsics.memory.mfence; try { mfence(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
}, 0)
AS3_METH_IMPL(int, avm2::intrinsics::memory::casi32, ( int arg0, int arg1, int arg2), {
	unsigned eid;
	int res;
	inline_as3 ("import avm2.intrinsics.memory.casi32; try { %1 = casi32(%2, %3, %4); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(arg0), "r"(arg1), "r"(arg2));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 12)
AS3_METH_IMPL(bool, bugzilla, ( int arg0), {
	unsigned eid;
	bool res;
	inline_as3 ("import bugzilla; try { %1 = bugzilla(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_METH_IMPL(AS3_NS::String, decodeURI, ( AS3_NS::String arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import decodeURI; try { %1 = as3_valAcquireId(decodeURI(as3_id2rcv[%2].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_METH_IMPL(AS3_NS::String, decodeURIComponent, ( AS3_NS::String arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import decodeURIComponent; try { %1 = as3_valAcquireId(decodeURIComponent(as3_id2rcv[%2].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_METH_IMPL(AS3_NS::String, encodeURI, ( AS3_NS::String arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import encodeURI; try { %1 = as3_valAcquireId(encodeURI(as3_id2rcv[%2].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_METH_IMPL(AS3_NS::String, encodeURIComponent, ( AS3_NS::String arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import encodeURIComponent; try { %1 = as3_valAcquireId(encodeURIComponent(as3_id2rcv[%2].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_METH_IMPL(bool, isNaN, ( double arg0), {
	unsigned eid;
	bool res;
	inline_as3 ("import isNaN; try { %1 = isNaN(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_METH_IMPL(bool, isFinite, ( double arg0), {
	unsigned eid;
	bool res;
	inline_as3 ("import isFinite; try { %1 = isFinite(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(arg0));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_METH_IMPL(double, parseInt, ( AS3_NS::String arg0, int arg1), {
	unsigned eid;
	double res;
	inline_as3 ("import parseInt; try { %1 = parseInt(as3_id2rcv[%2].val, %3); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(AS3_GET_ID(arg0)), "r"(arg1));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 8)
AS3_METH_IMPL(double, parseFloat, ( AS3_NS::String arg0), {
	unsigned eid;
	double res;
	inline_as3 ("import parseFloat; try { %1 = parseFloat(as3_id2rcv[%2].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_METH_IMPL(AS3_NS::String, escape, ( AS3_NS::String arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import escape; try { %1 = as3_valAcquireId(escape(as3_id2rcv[%2].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_METH_IMPL(AS3_NS::String, unescape, ( AS3_NS::String arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import unescape; try { %1 = as3_valAcquireId(unescape(as3_id2rcv[%2].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_METH_IMPL(bool, isXMLName, ( AS3_NS::var arg0), {
	unsigned eid;
	bool res;
	inline_as3 ("import isXMLName; try { %1 = isXMLName(as3_id2rcv[%2].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	return res;
}, 4)
AS3_METH_IMPL(AS3_NS::XML, avmplus::describeType, ( AS3_NS::var arg0, unsigned arg1), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import avmplus.describeType; try { %1 = as3_valAcquireId(describeType(as3_id2rcv[%2].val, %3)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(arg0)), "r"(arg1));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::XML res;
	AS3_GET_ID(res) = id;
	return res;
}, 12)
AS3_METH_IMPL(AS3_NS::String, avmplus::getQualifiedClassName, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import avmplus.getQualifiedClassName; try { %1 = as3_valAcquireId(getQualifiedClassName(as3_id2rcv[%2].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
AS3_METH_IMPL(AS3_NS::String, avmplus::getQualifiedSuperclassName, ( AS3_NS::var arg0), {
	unsigned eid;
	unsigned id;
	inline_as3 ("import avmplus.getQualifiedSuperclassName; try { %1 = as3_valAcquireId(getQualifiedSuperclassName(as3_id2rcv[%2].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(arg0)));
	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
	AS3_NS::String res;
	AS3_GET_ID(res) = id;
	return res;
}, 8)
#endif // functions
#ifndef AS3_IMPL // property interfaces
namespace internal {
	AS3_PROP_GET_DEF(AS3_NS::var, AS3);
} //internal

extern AS3_PROP(AS3);
namespace internal {
	AS3_PROP_GET_DEF(double, Infinity);
} //internal

extern AS3_PROP(Infinity);
namespace internal {
	AS3_PROP_GET_DEF(double, NaN);
} //internal

extern AS3_PROP(NaN);
namespace internal {
	AS3_PROP_GET_DEF(AS3_NS::var, undefined);
} //internal

extern AS3_PROP(undefined);
namespace avmplus {
namespace internal {
	AS3_PROP_GET_DEF(unsigned, FLASH10_FLAGS);
} //internal

extern AS3_PROP(FLASH10_FLAGS);
} //avmplus
namespace avmplus {
namespace internal {
	AS3_PROP_GET_DEF(unsigned, HIDE_NSURI_METHODS);
} //internal

extern AS3_PROP(HIDE_NSURI_METHODS);
} //avmplus
namespace avmplus {
namespace internal {
	AS3_PROP_GET_DEF(unsigned, HIDE_OBJECT);
} //internal

extern AS3_PROP(HIDE_OBJECT);
} //avmplus
namespace avmplus {
namespace internal {
	AS3_PROP_GET_DEF(unsigned, INCLUDE_ACCESSORS);
} //internal

extern AS3_PROP(INCLUDE_ACCESSORS);
} //avmplus
namespace avmplus {
namespace internal {
	AS3_PROP_GET_DEF(unsigned, INCLUDE_BASES);
} //internal

extern AS3_PROP(INCLUDE_BASES);
} //avmplus
namespace avmplus {
namespace internal {
	AS3_PROP_GET_DEF(unsigned, INCLUDE_CONSTRUCTOR);
} //internal

extern AS3_PROP(INCLUDE_CONSTRUCTOR);
} //avmplus
namespace avmplus {
namespace internal {
	AS3_PROP_GET_DEF(unsigned, INCLUDE_INTERFACES);
} //internal

extern AS3_PROP(INCLUDE_INTERFACES);
} //avmplus
namespace avmplus {
namespace internal {
	AS3_PROP_GET_DEF(unsigned, INCLUDE_METADATA);
} //internal

extern AS3_PROP(INCLUDE_METADATA);
} //avmplus
namespace avmplus {
namespace internal {
	AS3_PROP_GET_DEF(unsigned, INCLUDE_METHODS);
} //internal

extern AS3_PROP(INCLUDE_METHODS);
} //avmplus
namespace avmplus {
namespace internal {
	AS3_PROP_GET_DEF(unsigned, INCLUDE_TRAITS);
} //internal

extern AS3_PROP(INCLUDE_TRAITS);
} //avmplus
namespace avmplus {
namespace internal {
	AS3_PROP_GET_DEF(unsigned, INCLUDE_VARIABLES);
} //internal

extern AS3_PROP(INCLUDE_VARIABLES);
} //avmplus
namespace avmplus {
namespace internal {
	AS3_PROP_GET_DEF(unsigned, USE_ITRAITS);
} //internal

extern AS3_PROP(USE_ITRAITS);
} //avmplus
namespace flash {
namespace utils {
namespace internal {
	AS3_PROP_GET_DEF(AS3_NS::var, flash_proxy);
} //internal

extern AS3_PROP(flash_proxy);
} //utils
} //flash
#else // property implementations
AS3_PROP_GET_IMPL_(AS3_NS::var, AS3, AS3_NS, "AS3", "AS3");
AS3_PROP_IMPL(AS3, AS3_NS);
AS3_PROP_GET_SIMPL_(double, Infinity, AS3_NS, "Infinity", "Infinity");
AS3_PROP_IMPL(Infinity, AS3_NS);
AS3_PROP_GET_SIMPL_(double, NaN, AS3_NS, "NaN", "NaN");
AS3_PROP_IMPL(NaN, AS3_NS);
AS3_PROP_GET_IMPL_(AS3_NS::var, undefined, AS3_NS, "undefined", "undefined");
AS3_PROP_IMPL(undefined, AS3_NS);
AS3_PROP_GET_SIMPL_(unsigned, FLASH10_FLAGS, AS3_NS::avmplus, "avmplus.FLASH10_FLAGS", "avmplus.FLASH10_FLAGS");
AS3_PROP_IMPL(FLASH10_FLAGS, AS3_NS::avmplus);
AS3_PROP_GET_SIMPL_(unsigned, HIDE_NSURI_METHODS, AS3_NS::avmplus, "avmplus.HIDE_NSURI_METHODS", "avmplus.HIDE_NSURI_METHODS");
AS3_PROP_IMPL(HIDE_NSURI_METHODS, AS3_NS::avmplus);
AS3_PROP_GET_SIMPL_(unsigned, HIDE_OBJECT, AS3_NS::avmplus, "avmplus.HIDE_OBJECT", "avmplus.HIDE_OBJECT");
AS3_PROP_IMPL(HIDE_OBJECT, AS3_NS::avmplus);
AS3_PROP_GET_SIMPL_(unsigned, INCLUDE_ACCESSORS, AS3_NS::avmplus, "avmplus.INCLUDE_ACCESSORS", "avmplus.INCLUDE_ACCESSORS");
AS3_PROP_IMPL(INCLUDE_ACCESSORS, AS3_NS::avmplus);
AS3_PROP_GET_SIMPL_(unsigned, INCLUDE_BASES, AS3_NS::avmplus, "avmplus.INCLUDE_BASES", "avmplus.INCLUDE_BASES");
AS3_PROP_IMPL(INCLUDE_BASES, AS3_NS::avmplus);
AS3_PROP_GET_SIMPL_(unsigned, INCLUDE_CONSTRUCTOR, AS3_NS::avmplus, "avmplus.INCLUDE_CONSTRUCTOR", "avmplus.INCLUDE_CONSTRUCTOR");
AS3_PROP_IMPL(INCLUDE_CONSTRUCTOR, AS3_NS::avmplus);
AS3_PROP_GET_SIMPL_(unsigned, INCLUDE_INTERFACES, AS3_NS::avmplus, "avmplus.INCLUDE_INTERFACES", "avmplus.INCLUDE_INTERFACES");
AS3_PROP_IMPL(INCLUDE_INTERFACES, AS3_NS::avmplus);
AS3_PROP_GET_SIMPL_(unsigned, INCLUDE_METADATA, AS3_NS::avmplus, "avmplus.INCLUDE_METADATA", "avmplus.INCLUDE_METADATA");
AS3_PROP_IMPL(INCLUDE_METADATA, AS3_NS::avmplus);
AS3_PROP_GET_SIMPL_(unsigned, INCLUDE_METHODS, AS3_NS::avmplus, "avmplus.INCLUDE_METHODS", "avmplus.INCLUDE_METHODS");
AS3_PROP_IMPL(INCLUDE_METHODS, AS3_NS::avmplus);
AS3_PROP_GET_SIMPL_(unsigned, INCLUDE_TRAITS, AS3_NS::avmplus, "avmplus.INCLUDE_TRAITS", "avmplus.INCLUDE_TRAITS");
AS3_PROP_IMPL(INCLUDE_TRAITS, AS3_NS::avmplus);
AS3_PROP_GET_SIMPL_(unsigned, INCLUDE_VARIABLES, AS3_NS::avmplus, "avmplus.INCLUDE_VARIABLES", "avmplus.INCLUDE_VARIABLES");
AS3_PROP_IMPL(INCLUDE_VARIABLES, AS3_NS::avmplus);
AS3_PROP_GET_SIMPL_(unsigned, USE_ITRAITS, AS3_NS::avmplus, "avmplus.USE_ITRAITS", "avmplus.USE_ITRAITS");
AS3_PROP_IMPL(USE_ITRAITS, AS3_NS::avmplus);
AS3_PROP_GET_IMPL_(AS3_NS::var, flash_proxy, AS3_NS::flash::utils, "flash.utils.flash_proxy", "flash.utils.flash_proxy");
AS3_PROP_IMPL(flash_proxy, AS3_NS::flash::utils);
#endif // properties
